From: Daniel Dunbar Date: Wed, 29 Jul 2009 16:21:23 +0000 (+0000) Subject: scan-build: Don't try to index plist-html output directories X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1182502c78ad61693995f5b3ff516fdf983b5cd7;p=clang scan-build: Don't try to index plist-html output directories git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77465 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/scan-build b/utils/scan-build index d7b74e3411..d766258fde 100755 --- a/utils/scan-build +++ b/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;