[cfe-commits] r157667 - /cfe/trunk/lib/Sema/SemaExpr.cpp
Douglas Gregor
dgregor at apple.com
Wed May 30 10:58:03 PDT 2012
Sent from my iPhone
On May 29, 2012, at 6:14 PM, Eric Christopher <echristo at apple.com> wrote:
> 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.
Why? Style-only changes tend to be discouraged.
- Doug
> 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);
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list