Skip to content

Conversation

@cmc-rep
Copy link
Contributor

@cmc-rep cmc-rep commented Oct 25, 2024

Fix assertion problem

Fix assertion problem
@llvmbot llvmbot added clang Clang issues not falling into any other category clang:modules C++20 modules and Clang Header Modules labels Oct 25, 2024
@llvmbot
Copy link
Member

llvmbot commented Oct 25, 2024

@llvm/pr-subscribers-clang-modules

@llvm/pr-subscribers-clang

Author: Gang Chen (cmc-rep)

Changes

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 --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.

@jansvoboda11
Copy link
Contributor

Already fixed in 75252e2.

@cmc-rep cmc-rep closed this Oct 25, 2024
@cmc-rep
Copy link
Contributor Author

cmc-rep commented Oct 25, 2024

Duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang:modules C++20 modules and Clang Header Modules clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants