]> granicus.if.org Git - clang/commitdiff
scan-build now also prints the HTML directory reports were emitted to at the end...
authorTed Kremenek <kremenek@apple.com>
Fri, 11 Jul 2008 19:15:05 +0000 (19:15 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 11 Jul 2008 19:15:05 +0000 (19:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53466 91177308-0d34-0410-b5e6-96231b3b80d8

utils/scan-build

index ceb793ba2979db57e6d5f106a7e83a807eb95c5e..f2d66c60e6ba9dd8e0d9543dddb5ccdbcdd82bac 100755 (executable)
@@ -503,7 +503,10 @@ ENDTEXT
   `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");
+  }
 }
 
 ##----------------------------------------------------------------------------##