diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index 32ee8f0c817c8580777734db1f52e30cba6168a2..631b8361e90a56209fb32f675385acd078a226d6 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/lib/Lex/Preprocessor.cpp @@ -172,7 +172,7 @@ void Preprocessor::DumpLocation(SourceLocation Loc) const { SourceLocation LogLoc = SourceMgr.getLogicalLoc(Loc); llvm::cerr << SourceMgr.getSourceName(LogLoc) << ':' << SourceMgr.getLineNumber(LogLoc) << ':' - << SourceMgr.getLineNumber(LogLoc); + << SourceMgr.getColumnNumber(LogLoc); SourceLocation PhysLoc = SourceMgr.getPhysicalLoc(Loc); if (PhysLoc != LogLoc) {