]> granicus.if.org Git - clang/commitdiff
Fix compiler warning about to false -> pointer conversion; patch by Dimitry Andric!
authorDaniel Dunbar <daniel@zuster.org>
Wed, 2 Jun 2010 15:47:03 +0000 (15:47 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 2 Jun 2010 15:47:03 +0000 (15:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105328 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseExprCXX.cpp

index 46f1d94cf2c19505087f7d748bbaae09e59fe4a7..586dac61599cc29ac89ba65ee5a3c949aa3175aa 100644 (file)
@@ -1851,7 +1851,7 @@ Parser::ParseCXXAmbiguousParenExpression(ParenParseOption &ExprType,
       // will be consumed.
       Result = ParseCastExpression(false/*isUnaryExpression*/,
                                    false/*isAddressofOperand*/,
-                                   NotCastExpr, false);
+                                   NotCastExpr, 0/*TypeOfCast*/);
     }
 
     // If we parsed a cast-expression, it's really a type-id, otherwise it's