[cfe-commits] r54181 - /cfe/trunk/Driver/HTMLDiagnostics.cpp

Ted Kremenek kremenek at apple.com
Tue Jul 29 16:35:38 PDT 2008


Author: kremenek
Date: Tue Jul 29 18:35:38 2008
New Revision: 54181

URL: http://llvm.org/viewvc/llvm-project?rev=54181&view=rev
Log:
Fix regression in range highlighting in HTML output.

Modified:
    cfe/trunk/Driver/HTMLDiagnostics.cpp

Modified: cfe/trunk/Driver/HTMLDiagnostics.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/HTMLDiagnostics.cpp?rev=54181&r1=54180&r2=54181&view=diff

==============================================================================
--- cfe/trunk/Driver/HTMLDiagnostics.cpp (original)
+++ cfe/trunk/Driver/HTMLDiagnostics.cpp Tue Jul 29 18:35:38 2008
@@ -420,8 +420,8 @@
   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.





More information about the cfe-commits mailing list