Fix condition in ccc-analyzer that would cause the analyzer never to be run.

llvm-svn: 65417
This commit is contained in:
Ted Kremenek 2009-02-25 00:10:37 +00:00
parent 30b3ac5e9e
commit 86cb75a7cc
1 changed files with 1 additions and 1 deletions

View File

@ -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.