]> granicus.if.org Git - clang/commitdiff
Properly add to 32
authorDouglas Gregor <dgregor@apple.com>
Tue, 13 Jul 2010 15:57:00 +0000 (15:57 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 13 Jul 2010 15:57:00 +0000 (15:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108243 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ExprCXX.h

index 77b366ed01c6a863cc69b11672b9a30261eaf9de..b9553815d8eb68bd391a3c84c48ea4b159ec3c87 100644 (file)
@@ -928,7 +928,7 @@ class CXXNewExpr : public Expr {
   // Do we allocate an array? If so, the first SubExpr is the size expression.
   bool Array : 1;
   // The number of placement new arguments.
-  unsigned NumPlacementArgs : 14;
+  unsigned NumPlacementArgs : 15;
   // The number of constructor arguments. This may be 1 even for non-class
   // types; use the pseudo copy constructor.
   unsigned NumConstructorArgs : 14;