[cfe-commits] r65417 - /cfe/trunk/utils/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Tue Feb 24 16:10:38 PST 2009
Author: kremenek
Date: Tue Feb 24 18:10:37 2009
New Revision: 65417
URL: http://llvm.org/viewvc/llvm-project?rev=65417&view=rev
Log:
Fix condition in ccc-analyzer that would cause the analyzer never to be run.
Modified:
cfe/trunk/utils/ccc-analyzer
Modified: cfe/trunk/utils/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=65417&r1=65416&r2=65417&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Tue Feb 24 18:10:37 2009
@@ -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.
More information about the cfe-commits
mailing list