[cfe-commits] r48863 - /cfe/trunk/Driver/TextDiagnosticPrinter.cpp
Ted Kremenek
kremenek at apple.com
Wed Mar 26 22:52:45 PDT 2008
Author: kremenek
Date: Thu Mar 27 00:52:45 2008
New Revision: 48863
URL: http://llvm.org/viewvc/llvm-project?rev=48863&view=rev
Log:
Fixed copy-paste error.
Modified:
cfe/trunk/Driver/TextDiagnosticPrinter.cpp
Modified: cfe/trunk/Driver/TextDiagnosticPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/TextDiagnosticPrinter.cpp?rev=48863&r1=48862&r2=48863&view=diff
==============================================================================
--- cfe/trunk/Driver/TextDiagnosticPrinter.cpp (original)
+++ cfe/trunk/Driver/TextDiagnosticPrinter.cpp Thu Mar 27 00:52:45 2008
@@ -62,7 +62,7 @@
SourceLocation LogicalEnd = SourceMgr.getLogicalLoc(R.getEnd());
unsigned EndLineNo = SourceMgr.getLineNumber(LogicalEnd);
- if (EndLineNo < LineNo || LogicalStart.getFileID() != FileID)
+ if (EndLineNo < LineNo || LogicalEnd.getFileID() != FileID)
return; // No intersection.
// Compute the column number of the start.
More information about the cfe-commits
mailing list