mirror of
https://github.com/intel/llvm.git
synced 2026-01-30 14:07:28 +08:00
[clang] Minor cleanups after b2de52bec
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user