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
This commit is contained in:
Daniel Dunbar 2009-07-29 16:21:23 +00:00
Родитель 1f27ac6a52
Коммит 1182502c78
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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;