diff options
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. |