diff options
author | Qinkun Bao <qinkun@google.com> | 2025-05-14 21:02:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-14 21:02:57 -0400 |
commit | 18b885f66babff3a10451bc811ffc077d61ed8ee (patch) | |
tree | 29813027482a211089a4429cd004ceb584250abf /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 41fcd7e78be0dac2c8d984afce341b5223703a8a (diff) | |
download | llvm-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.cpp | 4 |
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"); } |