From: David Blaikie Date: Thu, 15 Nov 2018 03:04:18 +0000 (+0000) Subject: Stmt bits: Make ExprBits relative to StmtBits X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b91d0388756355970697767626d1f631b7fa1066;p=clang Stmt bits: Make ExprBits relative to StmtBits Seems like it makes it a bit easier to read/validate/update in the future. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@346926 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Stmt.h b/include/clang/AST/Stmt.h index c288a079fa..6be2239408 100644 --- a/include/clang/AST/Stmt.h +++ b/include/clang/AST/Stmt.h @@ -312,7 +312,7 @@ protected: unsigned InstantiationDependent : 1; unsigned ContainsUnexpandedParameterPack : 1; }; - enum { NumExprBits = 17 }; + enum { NumExprBits = NumStmtBits + 9 }; class PredefinedExprBitfields { friend class ASTStmtReader;