[cfe-commits] r53466 - /cfe/trunk/utils/scan-build

Ted Kremenek kremenek at apple.com
Fri Jul 11 12:15:06 PDT 2008


Author: kremenek
Date: Fri Jul 11 14:15:05 2008
New Revision: 53466

URL: http://llvm.org/viewvc/llvm-project?rev=53466&view=rev
Log:
scan-build now also prints the HTML directory reports were emitted to at the end of the build.

Modified:
    cfe/trunk/utils/scan-build

Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=53466&r1=53465&r2=53466&view=diff

==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Fri Jul 11 14:15:05 2008
@@ -503,7 +503,10 @@
   `chmod 755 $BaseDir`;
   
   my $Num = scalar(@Index);
-  Diag("$Num bugs found.\n")
+  Diag("$Num bugs found.\n");
+  if ($Num > 0 && -r "$Dir/index.html") {
+    Diag("Open '$Dir/index.html' to examine bug reports.\n");
+  }
 }
 
 ##----------------------------------------------------------------------------##





More information about the cfe-commits mailing list