]> granicus.if.org Git - clang/commitdiff
Remove extraneous braces.
authorEric Christopher <echristo@apple.com>
Tue, 10 Jan 2012 00:37:56 +0000 (00:37 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 10 Jan 2012 00:37:56 +0000 (00:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147818 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index e69e2cb92479de677d1a034b9b0067e2545d286b..bacfab58b005ed84b71eb57dc762f929e9cc8c38 100644 (file)
@@ -2571,9 +2571,8 @@ void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
   // -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.