summaryrefslogtreecommitdiffstats
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
commit36f82122997ca58789cc4ebd1cdedd9ad96f4ea3 (patch)
tree8b0c24e18bd97c47335dc05bdd6782dfeafe1a9f
parente13042c04ffdac95e0812ba449bfe29d88755567 (diff)
downloadbcm5719-llvm-36f82122997ca58789cc4ebd1cdedd9ad96f4ea3.tar.gz
bcm5719-llvm-36f82122997ca58789cc4ebd1cdedd9ad96f4ea3.zip
scan-build now also prints the HTML directory reports were emitted to at the end of the build.
llvm-svn: 53466
-rwxr-xr-xclang/utils/scan-build5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/utils/scan-build b/clang/utils/scan-build
index ceb793ba297..f2d66c60e6b 100755
--- a/clang/utils/scan-build
+++ b/clang/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");
+ }
}
##----------------------------------------------------------------------------##
OpenPOWER on IntegriCloud