]> granicus.if.org Git - clang/commitdiff
Stmt bits: Make ExprBits relative to StmtBits
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 15 Nov 2018 03:04:18 +0000 (03:04 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 15 Nov 2018 03:04:18 +0000 (03:04 +0000)
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

include/clang/AST/Stmt.h

index c288a079faf7f146575b8208e3429298e07918e4..6be2239408f543c52c8bbb308e26416c87a050c9 100644 (file)
@@ -312,7 +312,7 @@ protected:
     unsigned InstantiationDependent : 1;
     unsigned ContainsUnexpandedParameterPack : 1;
   };
-  enum { NumExprBits = 17 };
+  enum { NumExprBits = NumStmtBits + 9 };
 
   class PredefinedExprBitfields {
     friend class ASTStmtReader;