[clang] [clang][NFC] Fix the static assertion in 4797437 (PR #120643)

Jon Roelofs via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 19 13:55:59 PST 2024


================
@@ -114,10 +114,10 @@ class alignas(void *) Stmt {
 #define STMT(CLASS, PARENT)
 #define STMT_RANGE(BASE, FIRST, LAST)
 #define LAST_STMT_RANGE(BASE, FIRST, LAST)                                     \
-  static_assert(                                                               \
-      llvm::isInt<NumStmtBits>(StmtClass::LAST##Class),                        \
----------------
jroelofs wrote:

sorry about that... how about `isUInt` instead?

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


More information about the cfe-commits mailing list