Remove some extra braces.

llvm-svn: 157667
This commit is contained in:
Eric Christopher 2012-05-30 01:14:28 +00:00
parent 01cf09302d
commit 13586ab6d8
1 changed files with 2 additions and 3 deletions

View File

@ -3795,20 +3795,19 @@ Sema::BuildResolvedCallExpr(Expr *Fn, NamedDecl *NDecl,
// Make the call expr early, before semantic checks. This guarantees cleanup // Make the call expr early, before semantic checks. This guarantees cleanup
// of arguments and function on error. // of arguments and function on error.
CallExpr *TheCall; CallExpr *TheCall;
if (Config) { if (Config)
TheCall = new (Context) CUDAKernelCallExpr(Context, Fn, TheCall = new (Context) CUDAKernelCallExpr(Context, Fn,
cast<CallExpr>(Config), cast<CallExpr>(Config),
Args, NumArgs, Args, NumArgs,
Context.BoolTy, Context.BoolTy,
VK_RValue, VK_RValue,
RParenLoc); RParenLoc);
} else { else
TheCall = new (Context) CallExpr(Context, Fn, TheCall = new (Context) CallExpr(Context, Fn,
Args, NumArgs, Args, NumArgs,
Context.BoolTy, Context.BoolTy,
VK_RValue, VK_RValue,
RParenLoc); RParenLoc);
}
unsigned BuiltinID = (FDecl ? FDecl->getBuiltinID() : 0); unsigned BuiltinID = (FDecl ? FDecl->getBuiltinID() : 0);