scan-build now also prints the HTML directory reports were emitted to at the end of the build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53466 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/scan-build b/utils/scan-build
index ceb793b..f2d66c6 100755
--- a/utils/scan-build
+++ b/utils/scan-build
@@ -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");
+ }
}
##----------------------------------------------------------------------------##