diff options
Diffstat (limited to 'tools/scan-build/ccc-analyzer')
-rwxr-xr-x | tools/scan-build/ccc-analyzer | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index f19dcb4..8c64d3f 100755 --- a/tools/scan-build/ccc-analyzer +++ b/tools/scan-build/ccc-analyzer @@ -403,7 +403,7 @@ if ($Status) { exit($Status >> 8); } # Get the analysis options. my $Analyses = $ENV{'CCC_ANALYZER_ANALYSIS'}; -if (!defined($Analyses)) { $Analyses = '-checker-cfref'; } +if (!defined($Analyses)) { $Analyses = '-analyzer-check-objc-mem'; } # Get the store model. my $StoreModel = $ENV{'CCC_ANALYZER_STORE_MODEL'}; @@ -597,9 +597,12 @@ if ($Action eq 'compile' or $Action eq 'link') { } } + # FileLang still not defined? Skip the file. next if (!defined $FileLang); + + # Language not accepted? next if (!defined $LangsAccepted{$FileLang}); - + my @CmdArgs; my @AnalyzeArgs; |