[clang] 75252e2 - [clang][serialization] Bump `NUM_PREDEF_TYPE_IDS`

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 25 12:41:22 PDT 2024


Author: Jan Svoboda
Date: 2024-10-25T12:40:59-07:00
New Revision: 75252e29ea6a0959f3c1670e641a03fc18fc65fa

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

LOG: [clang][serialization] Bump `NUM_PREDEF_TYPE_IDS`

This fixes a build error caused by 4ac0e7e400fe2a66d1fd5d5d1fa1c899dfb16716.

Added: 
    

Modified: 
    clang/include/clang/Serialization/ASTBitCodes.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Serialization/ASTBitCodes.h b/clang/include/clang/Serialization/ASTBitCodes.h
index 99232fd2135790..3ddbc5fcd26c44 100644
--- a/clang/include/clang/Serialization/ASTBitCodes.h
+++ b/clang/include/clang/Serialization/ASTBitCodes.h
@@ -1149,7 +1149,7 @@ enum PredefinedTypeIDs {
 ///
 /// Type IDs for non-predefined types will start at
 /// NUM_PREDEF_TYPE_IDs.
-const unsigned NUM_PREDEF_TYPE_IDS = 512;
+const unsigned NUM_PREDEF_TYPE_IDS = 513;
 
 // Ensure we do not overrun the predefined types we reserved
 // in the enum PredefinedTypeIDs above.


        


More information about the cfe-commits mailing list