[cfe-commits] r157667 - /cfe/trunk/lib/Sema/SemaExpr.cpp
Eric Christopher
echristo at apple.com
Tue May 29 18:14:28 PDT 2012
Author: echristo
Date: Tue May 29 20:14:28 2012
New Revision: 157667
URL: http://llvm.org/viewvc/llvm-project?rev=157667&view=rev
Log:
Remove some extra braces.
Modified:
cfe/trunk/lib/Sema/SemaExpr.cpp
Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=157667&r1=157666&r2=157667&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Tue May 29 20:14:28 2012
@@ -3795,20 +3795,19 @@
// 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);
More information about the cfe-commits
mailing list