diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2025-05-19 12:52:56 -0700 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2025-05-19 12:57:54 -0700 |
commit | 72b2219b3e2319e29831e4e9b07c440444f3add6 (patch) | |
tree | 642d37b95354df419c9e19630c583a5ce268849b /clang/lib/Serialization/ASTWriter.cpp | |
parent | 10d198b32cd0b6aaeeaf1a6217611797c01f47f7 (diff) | |
download | llvm-72b2219b3e2319e29831e4e9b07c440444f3add6.zip llvm-72b2219b3e2319e29831e4e9b07c440444f3add6.tar.gz llvm-72b2219b3e2319e29831e4e9b07c440444f3add6.tar.bz2 |
Revert "[clang][modules] Timestamp-less validation API (#139987)"
This reverts commit 7a242387c950c7060143da6da0e6fb91f36bb458. Even after 175f8a44, the Modules/fmodules-validate-once-per-build-session.c test is not fixed on the clang-armv8-quick build bot. (Failure occurs on line 114.)
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp index 491149b..1b3d3c2 100644 --- a/clang/lib/Serialization/ASTWriter.cpp +++ b/clang/lib/Serialization/ASTWriter.cpp @@ -5391,7 +5391,7 @@ ASTWriter::WriteAST(llvm::PointerUnion<Sema *, Preprocessor *> Subject, if (WritingModule && PPRef.getHeaderSearchInfo() .getHeaderSearchOpts() .ModulesValidateOncePerBuildSession) - ModCache.markUpToDate(OutputFile); + ModCache.updateModuleTimestamp(OutputFile); if (ShouldCacheASTInMemory) { // Construct MemoryBuffer and update buffer manager. |