From cb6929bf439bbb5bc4604ac18893c790be63f95f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 3 May 2009 08:42:09 +0000 Subject: [PATCH] temporary hack to work around PR4128 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70681 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/TextDiagnosticPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Frontend/TextDiagnosticPrinter.cpp b/lib/Frontend/TextDiagnosticPrinter.cpp index a2cf8f958c..042e894feb 100644 --- a/lib/Frontend/TextDiagnosticPrinter.cpp +++ b/lib/Frontend/TextDiagnosticPrinter.cpp @@ -251,7 +251,7 @@ static void SelectInterestingSourceRegion(std::string &SourceLine, // 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); -- 2.50.1