aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/TextDiagnosticPrinter.cpp
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
commitbf5e09d185275a1942223ecb58e20c2d88dcc340 (patch)
treec6df3ceb5f941502995960b5788e4adf703b22de /lib/Frontend/TextDiagnosticPrinter.cpp
parent29c695b86199ce917fd59b875683960a1858342a (diff)
Eliminate some extraneous whitespace in the machine-parseable Fix-It output.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/TextDiagnosticPrinter.cpp')
-rw-r--r--lib/Frontend/TextDiagnosticPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/TextDiagnosticPrinter.cpp b/lib/Frontend/TextDiagnosticPrinter.cpp
index c971ca3b9d..1e453a08fd 100644
--- a/lib/Frontend/TextDiagnosticPrinter.cpp
+++ b/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";
}