r346926 - Stmt bits: Make ExprBits relative to StmtBits
David Blaikie via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 14 19:04:19 PST 2018
Author: dblaikie
Date: Wed Nov 14 19:04:18 2018
New Revision: 346926
URL: http://llvm.org/viewvc/llvm-project?rev=346926&view=rev
Log:
Stmt bits: Make ExprBits relative to StmtBits
Seems like it makes it a bit easier to read/validate/update in the
future.
Modified:
cfe/trunk/include/clang/AST/Stmt.h
Modified: cfe/trunk/include/clang/AST/Stmt.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Stmt.h?rev=346926&r1=346925&r2=346926&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Stmt.h (original)
+++ cfe/trunk/include/clang/AST/Stmt.h Wed Nov 14 19:04:18 2018
@@ -312,7 +312,7 @@ protected:
unsigned InstantiationDependent : 1;
unsigned ContainsUnexpandedParameterPack : 1;
};
- enum { NumExprBits = 17 };
+ enum { NumExprBits = NumStmtBits + 9 };
class PredefinedExprBitfields {
friend class ASTStmtReader;
More information about the cfe-commits
mailing list