[clang] [CLANG] bump NUM_PREDEF_TYPE_IDS (PR #113728)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 25 11:57:15 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Gang Chen (cmc-rep)
<details>
<summary>Changes</summary>
Fix assertion problem
---
Full diff: https://github.com/llvm/llvm-project/pull/113728.diff
1 Files Affected:
- (modified) clang/include/clang/Serialization/ASTBitCodes.h (+1-1)
``````````diff
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.
``````````
</details>
https://github.com/llvm/llvm-project/pull/113728
More information about the cfe-commits
mailing list