commit | 8ee040e4581ec7530eae4b689ab7a4a9c9ce9bbd | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Apr 16 05:52:14 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Apr 16 05:52:14 2009 +0000 |
tree | 1f061bde65056d5cace4be1cc21f3783920ab8a4 | |
parent | a96ec3bcfecbf4d1a9b4b6523060eb591a905810 [diff] [blame] |
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
diff --git a/lib/Frontend/TextDiagnosticPrinter.cpp b/lib/Frontend/TextDiagnosticPrinter.cpp index 24f66da..9583780 100644 --- a/lib/Frontend/TextDiagnosticPrinter.cpp +++ b/lib/Frontend/TextDiagnosticPrinter.cpp
@@ -311,7 +311,7 @@ if (PrintDiagnosticOption) if (const char *Option = Diagnostic::getWarningOptionForDiag(Info.getID())) - OS << " [-" << Option << ']'; + OS << " [-W" << Option << ']'; OS << '\n';