diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-03 08:42:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-03 08:42:09 +0000 |
commit | cb6929bf439bbb5bc4604ac18893c790be63f95f (patch) | |
tree | 034b1960dbd1b276e918c94de30b262166f88ae7 /lib/Frontend/TextDiagnosticPrinter.cpp | |
parent | ebfc9857de58a326c84629915d9ffe3f36d8cc26 (diff) |
temporary hack to work around PR4128
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/TextDiagnosticPrinter.cpp')
-rw-r--r-- | lib/Frontend/TextDiagnosticPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |