File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -109,16 +109,7 @@ class alignas(void *) Stmt {
109
109
110
110
// ===--- Statement bitfields classes ---===//
111
111
112
- enum { NumStmtBits = 9 };
113
-
114
- #define STMT (CLASS, PARENT )
115
- #define STMT_RANGE (BASE, FIRST, LAST )
116
- #define LAST_STMT_RANGE (BASE, FIRST, LAST ) \
117
- static_assert (llvm::isUInt<NumStmtBits>(StmtClass::LAST##Class), \
118
- " The number of 'StmtClass'es is strictly bound " \
119
- " by a bitfield of width NumStmtBits" );
120
- #define ABSTRACT_STMT (STMT )
121
- #include " clang/AST/StmtNodes.inc"
112
+ #define NumStmtBits 9
122
113
123
114
class StmtBitfields {
124
115
friend class ASTStmtReader ;
Original file line number Diff line number Diff line change 47
47
48
48
using namespace clang ;
49
49
50
+ #define STMT (CLASS, PARENT )
51
+ #define STMT_RANGE (BASE, FIRST, LAST )
52
+ #define LAST_STMT_RANGE (BASE, FIRST, LAST ) \
53
+ static_assert (llvm::isUInt<NumStmtBits>(Stmt::StmtClass::LAST##Class), \
54
+ "The number of 'StmtClass'es is strictly bound " \
55
+ "by a bitfield of width NumStmtBits");
56
+ #define ABSTRACT_STMT (STMT )
57
+ #include " clang/AST/StmtNodes.inc"
58
+
50
59
static struct StmtClassNameTable {
51
60
const char *Name;
52
61
unsigned Counter;
You can’t perform that action at this time.
0 commit comments