diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-02-25 00:10:37 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-02-25 00:10:37 +0000 |
commit | 0e0eb8b051b2917aef85b24bb68297b8c234dbb5 (patch) | |
tree | 673ad2fe0e6e3ed6693de1e8a73ba9cd3e037ab9 | |
parent | 84d013393cb6af5e422b04bccd762857b5b06b60 (diff) |
Fix condition in ccc-analyzer that would cause the analyzer never to be run.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65417 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/ccc-analyzer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer index 813c3d91cb..407fb90e60 100755 --- a/utils/ccc-analyzer +++ b/utils/ccc-analyzer @@ -483,7 +483,7 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) { if ($Action eq 'compile' or $Action eq 'link') { my @Archs = keys %ArchsSeen; # Skip the file if we don't support the architectures specified. - exit 0 if ($HadArch && scalar(@Archs) > 0); + exit 0 if ($HadArch && scalar(@Archs) == 0); foreach my $file (@Files) { # Determine the language for the file. |