aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-03-27 05:52:45 +0000
committerTed Kremenek <kremenek@apple.com>2008-03-27 05:52:45 +0000
commit2b70af4169fc9eed425ff319a498fc09b88522e5 (patch)
tree1fdba2bd0950f8cf2cd02c15f233e19c0421b680
parentb8540c6e53555a317041e24bfe24d2c314a939ea (diff)
Fixed copy-paste error.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48863 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/TextDiagnosticPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/TextDiagnosticPrinter.cpp b/Driver/TextDiagnosticPrinter.cpp
index adfa88b855..012c3abf94 100644
--- a/Driver/TextDiagnosticPrinter.cpp
+++ b/Driver/TextDiagnosticPrinter.cpp
@@ -62,7 +62,7 @@ void TextDiagnosticPrinter::HighlightRange(const SourceRange &R,
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.