diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-08-20 03:17:33 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-08-20 03:17:33 +0000 |
| commit | 12e2a0682457450328f8835fa3a294e19e5cf6af (patch) | |
| tree | 02b5e291ca3084554a3cc9fb4c602e0a75dae75d /clang/lib/Frontend | |
| parent | a189f2eb0ab9e7ccbf1136a7f3f9f9c541c57be5 (diff) | |
| download | bcm5719-llvm-12e2a0682457450328f8835fa3a294e19e5cf6af.tar.gz bcm5719-llvm-12e2a0682457450328f8835fa3a294e19e5cf6af.zip | |
Eliminate some extraneous whitespace in the machine-parseable Fix-It output.
llvm-svn: 111610
Diffstat (limited to 'clang/lib/Frontend')
| -rw-r--r-- | clang/lib/Frontend/TextDiagnosticPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/TextDiagnosticPrinter.cpp b/clang/lib/Frontend/TextDiagnosticPrinter.cpp index c971ca3b9dd..1e453a08fdb 100644 --- a/clang/lib/Frontend/TextDiagnosticPrinter.cpp +++ b/clang/lib/Frontend/TextDiagnosticPrinter.cpp @@ -567,13 +567,13 @@ void TextDiagnosticPrinter::EmitCaretDiagnostic(SourceLocation Loc, // We specifically do not do word-wrapping or tab-expansion here, // because this is supposed to be easy to parse. - OS << " fix-it: \""; + OS << "fix-it:\""; OS.write_escaped(SM.getPresumedLoc(B).getFilename()); OS << "\":{" << SM.getLineNumber(BInfo.first, BInfo.second) << ':' << SM.getColumnNumber(BInfo.first, BInfo.second) << '-' << SM.getLineNumber(EInfo.first, EInfo.second) << ':' << SM.getColumnNumber(EInfo.first, EInfo.second) - << "}: \""; + << "}:\""; OS.write_escaped(Hint->CodeToInsert); OS << "\"\n"; } |

