summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/modularize
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2013-09-20 14:44:20 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2013-09-20 14:44:20 +0000
commita2b66875d36e4d0db9b86b55774b3ef2aff223f5 (patch)
tree24bf9ddf0f93744dae5baca178fe62c8fbf601bf /clang-tools-extra/modularize
parent2d2d45e330b61bf91453b3e4ebab544afe7a0244 (diff)
downloadbcm5719-llvm-a2b66875d36e4d0db9b86b55774b3ef2aff223f5.tar.gz
bcm5719-llvm-a2b66875d36e4d0db9b86b55774b3ef2aff223f5.zip
Added colon to make proper error message prefix.
llvm-svn: 191092
Diffstat (limited to 'clang-tools-extra/modularize')
-rw-r--r--clang-tools-extra/modularize/PreprocessorTracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/modularize/PreprocessorTracker.cpp b/clang-tools-extra/modularize/PreprocessorTracker.cpp
index 391afbe0151..b5672f931b6 100644
--- a/clang-tools-extra/modularize/PreprocessorTracker.cpp
+++ b/clang-tools-extra/modularize/PreprocessorTracker.cpp
@@ -935,14 +935,14 @@ public:
if ((I->File == SourceHandle) && (I->Line >= BlockStartLine) &&
(I->Line < BlockEndLine)) {
returnValue = false;
- OS << SourcePath << ":" << I->Line << ":" << I->Column << "\n";
+ OS << SourcePath << ":" << I->Line << ":" << I->Column << ":\n";
OS << getSourceLine(PP, FileID, I->Line) << "\n";
if (I->Column > 0)
OS << std::string(I->Column - 1, ' ') << "^\n";
OS << "error: Include directive within " << BlockIdentifierMessage
<< ".\n";
OS << SourcePath << ":" << BlockStartLine << ":" << BlockStartColumn
- << "\n";
+ << ":\n";
OS << getSourceLine(PP, BlockStartLoc) << "\n";
if (BlockStartColumn > 0)
OS << std::string(BlockStartColumn - 1, ' ') << "^\n";
OpenPOWER on IntegriCloud