[cfe-commits] r70681 - /cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp
Chris Lattner
sabre at nondot.org
Sun May 3 01:42:11 PDT 2009
Author: lattner
Date: Sun May 3 03:42:09 2009
New Revision: 70681
URL: http://llvm.org/viewvc/llvm-project?rev=70681&view=rev
Log:
temporary hack to work around PR4128
Modified:
cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp
Modified: cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp?rev=70681&r1=70680&r2=70681&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp (original)
+++ cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp Sun May 3 03:42:09 2009
@@ -251,7 +251,7 @@
// before the lines so that it looks nicer.
if (CaretEnd < SourceLine.size())
SourceLine.replace(CaretEnd, std::string::npos, "...");
- CaretLine.erase(CaretEnd, std::string::npos);
+ //CaretLine.erase(CaretEnd, std::string::npos);
if (FixItInsertionLine.size() > CaretEnd)
FixItInsertionLine.erase(CaretEnd, std::string::npos);
More information about the cfe-commits
mailing list