summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-08-20 03:17:33 +0000
committerDouglas Gregor <dgregor@apple.com>2010-08-20 03:17:33 +0000
commit12e2a0682457450328f8835fa3a294e19e5cf6af (patch)
tree02b5e291ca3084554a3cc9fb4c602e0a75dae75d /clang/lib/Frontend
parenta189f2eb0ab9e7ccbf1136a7f3f9f9c541c57be5 (diff)
downloadbcm5719-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.cpp4
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";
}
OpenPOWER on IntegriCloud