mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add -print-diagnostic-groups flag
This change adds the `-print-diagnostic-groups` flag as described by SE-0443.
This commit is contained in:
@@ -961,7 +961,7 @@ public:
|
||||
// Emit a specific unavailable message when we know why a decl can't be
|
||||
// exposed, or a generic message otherwise.
|
||||
auto diagString = M.getASTContext().Diags.diagnosticStringFor(
|
||||
diag.getID(), /*PrintDiagnosticNames=*/false);
|
||||
diag.getID(), PrintDiagnosticNamesMode::None);
|
||||
DiagnosticEngine::formatDiagnosticText(os, diagString, diag.getArgs(),
|
||||
DiagnosticFormatOptions());
|
||||
os << "\");\n";
|
||||
|
||||
Reference in New Issue
Block a user