[clang] Minor cleanups after b2de52bec

This commit is contained in:
Nico Weber
2021-09-29 14:28:13 -04:00
parent f9b68304a2
commit 2240deb976
2 changed files with 2 additions and 2 deletions

View File

@@ -5452,7 +5452,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
if (auto Group = diagGroupFromCLWarningID(WarningNumber)) {
CmdArgs.push_back(Args.MakeArgString(
Twine("-Wno-") + DiagnosticIDs::getWarningOptionForGroup(*Group)));
"-Wno-" + DiagnosticIDs::getWarningOptionForGroup(*Group)));
continue;
}
}

View File

@@ -1537,7 +1537,7 @@ static void emitDiagTable(std::map<std::string, GroupInfo> &DiagsInGroup,
OS << "0";
}
OS << " )\n";
OS << ")\n";
}
OS << "#endif // DIAG_ENTRY\n\n";
}