summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index e69e2cb9247..bacfab58b00 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -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.
OpenPOWER on IntegriCloud