diff options
Diffstat (limited to 'clang')
-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; |