Remove unnecessary braces in single-line 'if'.

llvm-svn: 250363
This commit is contained in:
Douglas Katzman 2015-10-15 04:10:40 +00:00
parent fd2cc7cd8a
commit 64071ad864
1 changed files with 1 additions and 2 deletions

View File

@ -5643,9 +5643,8 @@ void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
Args.ClaimAllArgs(options::OPT_g_Group);
if (Arg *A = Args.getLastArg(options::OPT_g_Group)) {
WantDebug = !A->getOption().matches(options::OPT_g0);
if (WantDebug) {
if (WantDebug)
DwarfVersion = DwarfVersionNum(A->getSpelling());
}
}
if (DwarfVersion == 0)
DwarfVersion = getToolChain().GetDefaultDwarfVersion();