[clang] [clang][modules] Timestamp PCM files when writing (PR #112452)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 18:47:03 PDT 2024


================
@@ -4905,6 +4905,10 @@ ASTFileSignature ASTWriter::WriteAST(Sema &SemaRef, StringRef OutputFile,
   this->BaseDirectory.clear();
 
   WritingAST = false;
+
+  if (WritingModule)
+    updateModuleTimestamp(OutputFile);
----------------
ChuanqiXu9 wrote:

Yeah, I'd like to make such changes doesn't affect C++20 modules if possible.

https://github.com/llvm/llvm-project/pull/112452


More information about the cfe-commits mailing list