aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-07-11 19:15:05 +0000
committerTed Kremenek <kremenek@apple.com>2008-07-11 19:15:05 +0000
commit150c2120ab4a44b4ac62b401ffece9049ff9b2c0 (patch)
tree9db5e3e34335b6d253eaa2935cd32fa531a887fe
parentb542afe02d317411d53b3541946f9f2a8f509a11 (diff)
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
-rwxr-xr-xutils/scan-build5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/scan-build b/utils/scan-build
index ceb793ba29..f2d66c60e6 100755
--- a/utils/scan-build
+++ b/utils/scan-build
@@ -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");
+ }
}
##----------------------------------------------------------------------------##