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
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer
index 813c3d9..407fb90 100755
--- a/utils/ccc-analyzer
+++ b/utils/ccc-analyzer
@@ -483,7 +483,7 @@
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.