diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-07-29 16:21:23 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-29 16:21:23 +0000 |
| commit | 0a1fa8589431357a1e59e85a45a07aece3845565 (patch) | |
| tree | a7580c0155258b3f53a51674011210f97f4bd6df | |
| parent | ab60c7f60b66144bc2b5a5d6e15d96c8a7697c2b (diff) | |
| download | bcm5719-llvm-0a1fa8589431357a1e59e85a45a07aece3845565.tar.gz bcm5719-llvm-0a1fa8589431357a1e59e85a45a07aece3845565.zip | |
scan-build: Don't try to index plist-html output directories
llvm-svn: 77465
| -rwxr-xr-x | clang/utils/scan-build | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/utils/scan-build b/clang/utils/scan-build index d7b74e34111..d766258fdeb 100755 --- a/clang/utils/scan-build +++ b/clang/utils/scan-build @@ -1259,7 +1259,11 @@ if (defined $OutputFormat) { my $ExitStatus = RunBuildCommand(\@ARGV, $IgnoreErrors, $Cmd); if (defined $OutputFormat) { - if ($OutputFormat =~ /html/) { + if ($OutputFormat =~ /plist/) { + Diag "Analysis run complete.\n"; + Diag "Analysis results (plist files) deposited in '$HtmlDir'\n"; + } + elsif ($OutputFormat =~ /html/) { # Postprocess the HTML directory. my $NumBugs = Postprocess($HtmlDir, $BaseDir); @@ -1276,10 +1280,6 @@ if (defined $OutputFormat) { exit 0; } } - elsif ($OutputFormat =~ /plist/) { - Diag "Analysis run complete.\n"; - Diag "Analysis results (plist files) deposited in '$HtmlDir'\n"; - } } exit $ExitStatus; |

