[cfe-commits] r147818 - /cfe/trunk/lib/Driver/Tools.cpp

Eric Christopher echristo at apple.com
Mon Jan 9 16:37:56 PST 2012


Author: echristo
Date: Mon Jan  9 18:37:56 2012
New Revision: 147818

URL: http://llvm.org/viewvc/llvm-project?rev=147818&view=rev
Log:
Remove extraneous braces.

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=147818&r1=147817&r2=147818&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Mon Jan  9 18:37:56 2012
@@ -2571,9 +2571,8 @@
   // -g to clang. I guess if it is wrong there then it is wrong here too :) .
   Args.ClaimAllArgs(options::OPT_g_Group);
   if (Arg *A = Args.getLastArg(options::OPT_g_Group))
-    if (!A->getOption().matches(options::OPT_g0)) {
+    if (!A->getOption().matches(options::OPT_g0))
       CmdArgs.push_back("-g");
-    }
 
   // Optionally embed the -cc1as level arguments into the debug info, for build
   // analysis.





More information about the cfe-commits mailing list