diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-07-29 23:35:38 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-07-29 23:35:38 +0000 |
commit | ae8a25591dc7e5fd5d6dde5c44cada268be98973 (patch) | |
tree | d68eb7c2dc2fa7744d879f899e4fe2c2a34ac049 /Driver/HTMLDiagnostics.cpp | |
parent | bd012ff1fa088181646a784f385b28867372d434 (diff) |
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
Diffstat (limited to 'Driver/HTMLDiagnostics.cpp')
-rw-r--r-- | Driver/HTMLDiagnostics.cpp | 4 |
1 files 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. |