diff options
author | Eric Christopher <echristo@apple.com> | 2012-05-30 01:14:28 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-05-30 01:14:28 +0000 |
commit | a27cb253877ac2aa971b2be0623845cf45ebb286 (patch) | |
tree | 1e7f43fe01bd535b142989bd3a5d9b5b07c0e0c0 | |
parent | 7af7de7d6b121132dfe8c3b9b5febe2b37aafd62 (diff) |
Remove some extra braces.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157667 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/SemaExpr.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index 91e0f721b6..17260c29c9 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -3795,20 +3795,19 @@ Sema::BuildResolvedCallExpr(Expr *Fn, NamedDecl *NDecl, // Make the call expr early, before semantic checks. This guarantees cleanup // of arguments and function on error. CallExpr *TheCall; - if (Config) { + if (Config) TheCall = new (Context) CUDAKernelCallExpr(Context, Fn, cast<CallExpr>(Config), Args, NumArgs, Context.BoolTy, VK_RValue, RParenLoc); - } else { + else TheCall = new (Context) CallExpr(Context, Fn, Args, NumArgs, Context.BoolTy, VK_RValue, RParenLoc); - } unsigned BuiltinID = (FDecl ? FDecl->getBuiltinID() : 0); |