[cfe-commits] r102896 - /cfe/trunk/lib/Sema/SemaExprCXX.cpp
Anders Carlsson
andersca at mac.com
Sun May 2 19:07:56 PDT 2010
Author: andersca
Date: Sun May 2 21:07:56 2010
New Revision: 102896
URL: http://llvm.org/viewvc/llvm-project?rev=102896&view=rev
Log:
Simplify.
Modified:
cfe/trunk/lib/Sema/SemaExprCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExprCXX.cpp?rev=102896&r1=102895&r2=102896&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExprCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExprCXX.cpp Sun May 2 21:07:56 2010
@@ -720,10 +720,10 @@
OperatorNew->getType()->getAs<FunctionProtoType>();
VariadicCallType CallType =
Proto->isVariadic() ? VariadicFunction : VariadicDoesNotApply;
- bool Invalid = GatherArgumentsForCall(PlacementLParen, OperatorNew,
- Proto, 1, PlaceArgs, NumPlaceArgs,
- AllPlaceArgs, CallType);
- if (Invalid)
+
+ if (GatherArgumentsForCall(PlacementLParen, OperatorNew,
+ Proto, 1, PlaceArgs, NumPlaceArgs,
+ AllPlaceArgs, CallType))
return ExprError();
NumPlaceArgs = AllPlaceArgs.size();
More information about the cfe-commits
mailing list