diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-16 05:52:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-16 05:52:14 +0000 |
commit | 19cbb44e3c4f2181dafa2ab92d3e3a26619b71d9 (patch) | |
tree | 1f061bde65056d5cace4be1cc21f3783920ab8a4 /lib/Frontend/TextDiagnosticPrinter.cpp | |
parent | d51d74a3e89c5e5fc9bfd2814996a5feab6dc932 (diff) |
tblgen is now passing diagnostic group information in the .inc file, ignore it everywhere.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/TextDiagnosticPrinter.cpp')
-rw-r--r-- | lib/Frontend/TextDiagnosticPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/TextDiagnosticPrinter.cpp b/lib/Frontend/TextDiagnosticPrinter.cpp index 24f66dac7f..9583780870 100644 --- a/lib/Frontend/TextDiagnosticPrinter.cpp +++ b/lib/Frontend/TextDiagnosticPrinter.cpp @@ -311,7 +311,7 @@ void TextDiagnosticPrinter::HandleDiagnostic(Diagnostic::Level Level, if (PrintDiagnosticOption) if (const char *Option = Diagnostic::getWarningOptionForDiag(Info.getID())) - OS << " [-" << Option << ']'; + OS << " [-W" << Option << ']'; OS << '\n'; |