r180073 - [scan-build] Whitelist all -mXXXX options.
Ted Kremenek
kremenek at apple.com
Mon Apr 22 17:10:55 PDT 2013
Author: kremenek
Date: Mon Apr 22 19:10:55 2013
New Revision: 180073
URL: http://llvm.org/viewvc/llvm-project?rev=180073&view=rev
Log:
[scan-build] Whitelist all -mXXXX options.
Modified:
cfe/trunk/tools/scan-build/ccc-analyzer
Modified: cfe/trunk/tools/scan-build/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer?rev=180073&r1=180072&r2=180073&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Mon Apr 22 19:10:55 2013
@@ -491,7 +491,7 @@ foreach (my $i = 0; $i < scalar(@ARGV);
while ($Cnt > 0) { ++$i; --$Cnt; push @CompileOpts, $ARGV[$i]; }
next;
}
- if ($Arg =~ /-msse.*/) {
+ if ($Arg =~ /-m.*/) {
push @CompileOpts,$Arg;
next;
}
More information about the cfe-commits
mailing list