From: Ted Kremenek Date: Fri, 11 Jul 2008 19:15:05 +0000 (+0000) Subject: scan-build now also prints the HTML directory reports were emitted to at the end... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=150c2120ab4a44b4ac62b401ffece9049ff9b2c0;p=clang 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 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"); + } } ##----------------------------------------------------------------------------##