diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-02-16 09:31:36 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-02-16 09:31:36 +0000 |
| commit | ecb7e5c8afe929ee38155db94de6b084ec32a645 (patch) | |
| tree | 53010172e19c77ea447bcd89e117cda052ab52e0 /tools/scan-build/ccc-analyzer | |
| parent | 5044f5c816adfd5cba17f1adee1a10127296d0bf (diff) | |
Notes
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 f19dcb4718cb..8c64d3ffefda 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; |
