summaryrefslogtreecommitdiffstats
path: root/clang/Driver/HTMLDiagnostics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Driver/HTMLDiagnostics.cpp')
-rw-r--r--clang/Driver/HTMLDiagnostics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/Driver/HTMLDiagnostics.cpp b/clang/Driver/HTMLDiagnostics.cpp
index 5fab2679563..869ec39bec5 100644
--- a/clang/Driver/HTMLDiagnostics.cpp
+++ b/clang/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.
OpenPOWER on IntegriCloud