]> granicus.if.org Git - clang/commitdiff
[scan-build] Whitelist all -mXXXX options.
authorTed Kremenek <kremenek@apple.com>
Tue, 23 Apr 2013 00:10:55 +0000 (00:10 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 23 Apr 2013 00:10:55 +0000 (00:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180073 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/ccc-analyzer

index bb6dd9563b386fd315fb6e5abbcb1eef701d2c8f..60b0185e6fb1801232ec5862d62a8fd73797efdb 100755 (executable)
@@ -491,7 +491,7 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) {
     while ($Cnt > 0) { ++$i; --$Cnt; push @CompileOpts, $ARGV[$i]; }
     next;
   }
-  if ($Arg =~ /-msse.*/) {
+  if ($Arg =~ /-m.*/) {
     push @CompileOpts,$Arg;
     next;
   }