summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-05-30 01:14:28 +0000
committerEric Christopher <echristo@apple.com>2012-05-30 01:14:28 +0000
commit13586ab6d8a1c9f373315a70c384f67089c2371e (patch)
tree088b89ce7fa683fdecfd1a161b2aae44517710a5
parent01cf09302d32cdedeb78e417c67bc57fc88821a7 (diff)
downloadbcm5719-llvm-13586ab6d8a1c9f373315a70c384f67089c2371e.tar.gz
bcm5719-llvm-13586ab6d8a1c9f373315a70c384f67089c2371e.zip
Remove some extra braces.
llvm-svn: 157667
-rw-r--r--clang/lib/Sema/SemaExpr.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index 91e0f721b63..17260c29c94 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud