Fixed copy-paste error.

llvm-svn: 48863
This commit is contained in:
Ted Kremenek 2008-03-27 05:52:45 +00:00
parent 9c27b057da
commit c875201ee1
1 changed files with 1 additions and 1 deletions

View File

@ -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.