From ae8a25591dc7e5fd5d6dde5c44cada268be98973 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 29 Jul 2008 23:35:38 +0000 Subject: [PATCH] Fix regression in range highlighting in HTML output. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54181 91177308-0d34-0410-b5e6-96231b3b80d8 --- Driver/HTMLDiagnostics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Driver/HTMLDiagnostics.cpp b/Driver/HTMLDiagnostics.cpp index 5fab267956..869ec39bec 100644 --- a/Driver/HTMLDiagnostics.cpp +++ b/Driver/HTMLDiagnostics.cpp @@ -420,8 +420,8 @@ void HTMLDiagnostics::HighlightRange(Rewriter& R, unsigned BugFileID, if (EndLineNo < StartLineNo) return; - if (!SM.getCanonicalFileID(LogicalStart) != BugFileID || - !SM.getCanonicalFileID(LogicalEnd) != BugFileID) + if (SM.getCanonicalFileID(LogicalStart) != BugFileID || + SM.getCanonicalFileID(LogicalEnd) != BugFileID) return; // Compute the column number of the end. -- 2.50.1