From 0e0eb8b051b2917aef85b24bb68297b8c234dbb5 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 25 Feb 2009 00:10:37 +0000 Subject: [PATCH] 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 --- utils/ccc-analyzer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.50.1