aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorQinkun Bao <qinkun@google.com>2025-05-14 21:02:57 -0400
committerGitHub <noreply@github.com>2025-05-14 21:02:57 -0400
commit18b885f66babff3a10451bc811ffc077d61ed8ee (patch)
tree29813027482a211089a4429cd004ceb584250abf /clang/lib/Frontend/CompilerInstance.cpp
parent41fcd7e78be0dac2c8d984afce341b5223703a8a (diff)
downloadllvm-18b885f66babff3a10451bc811ffc077d61ed8ee.zip
llvm-18b885f66babff3a10451bc811ffc077d61ed8ee.tar.gz
llvm-18b885f66babff3a10451bc811ffc077d61ed8ee.tar.bz2
Revert "[clang][modules] Timestamp-less validation API" (#139987)
Reverts llvm/llvm-project#138983
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index b3a23e6..503d364 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -72,9 +72,7 @@ CompilerInstance::CompilerInstance(
ModuleCache *ModCache)
: ModuleLoader(/*BuildingModule=*/ModCache),
Invocation(std::move(Invocation)),
- ModCache(ModCache ? ModCache
- : createCrossProcessModuleCache(
- getHeaderSearchOpts().BuildSessionTimestamp)),
+ ModCache(ModCache ? ModCache : createCrossProcessModuleCache()),
ThePCHContainerOperations(std::move(PCHContainerOps)) {
assert(this->Invocation && "Invocation must not be null");
}