зеркало из https://github.com/microsoft/clang-1.git
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:
Родитель
1f27ac6a52
Коммит
1182502c78
|
@ -1259,7 +1259,11 @@ if (defined $OutputFormat) {
|
||||||
my $ExitStatus = RunBuildCommand(\@ARGV, $IgnoreErrors, $Cmd);
|
my $ExitStatus = RunBuildCommand(\@ARGV, $IgnoreErrors, $Cmd);
|
||||||
|
|
||||||
if (defined $OutputFormat) {
|
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.
|
# Postprocess the HTML directory.
|
||||||
my $NumBugs = Postprocess($HtmlDir, $BaseDir);
|
my $NumBugs = Postprocess($HtmlDir, $BaseDir);
|
||||||
|
|
||||||
|
@ -1276,10 +1280,6 @@ if (defined $OutputFormat) {
|
||||||
exit 0;
|
exit 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elsif ($OutputFormat =~ /plist/) {
|
|
||||||
Diag "Analysis run complete.\n";
|
|
||||||
Diag "Analysis results (plist files) deposited in '$HtmlDir'\n";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
exit $ExitStatus;
|
exit $ExitStatus;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче