[clang] bfab778 - [clang][modules] Serialize the new RecordID

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 2 23:27:53 PST 2022


Author: Jan Svoboda
Date: 2022-12-02T23:27:48-08:00
New Revision: bfab778e95004bd71da7685ada25aa420a1a3291

URL: https://github.com/llvm/llvm-project/commit/bfab778e95004bd71da7685ada25aa420a1a3291
DIFF: https://github.com/llvm/llvm-project/commit/bfab778e95004bd71da7685ada25aa420a1a3291.diff

LOG: [clang][modules] Serialize the new RecordID

This is a follow-up to commit 40472ef14cd3bbed665789825b47d055e0a83402 that introduced new record but didn't serialize its ID.

Added: 
    

Modified: 
    clang/lib/Serialization/ASTWriter.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp
index db76a4767cf7..cd70e7cd65a5 100644
--- a/clang/lib/Serialization/ASTWriter.cpp
+++ b/clang/lib/Serialization/ASTWriter.cpp
@@ -1044,6 +1044,7 @@ void ASTWriter::WriteBlockInfoBlock() {
   RECORD(SIGNATURE);
   RECORD(AST_BLOCK_HASH);
   RECORD(DIAGNOSTIC_OPTIONS);
+  RECORD(HEADER_SEARCH_PATHS);
   RECORD(DIAG_PRAGMA_MAPPINGS);
 
 #undef RECORD


        


More information about the cfe-commits mailing list