diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-03-27 05:52:45 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-03-27 05:52:45 +0000 |
commit | 2b70af4169fc9eed425ff319a498fc09b88522e5 (patch) | |
tree | 1fdba2bd0950f8cf2cd02c15f233e19c0421b680 | |
parent | b8540c6e53555a317041e24bfe24d2c314a939ea (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.cpp | 2 |
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. |