diff options
author | Ted Kremenek <kremenek@apple.com> | 2013-04-23 00:10:55 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2013-04-23 00:10:55 +0000 |
commit | 11a90ed93f32791bc1bc7937825d43a97a2d4881 (patch) | |
tree | 2107c7bbb6e6d58e9ab2a1f6a4c778defcc0ab7c /tools | |
parent | 2fb5d1297e874d8f6d86a3586c7d25dcfb104f69 (diff) |
[scan-build] Whitelist all -mXXXX options.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/scan-build/ccc-analyzer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index bb6dd9563b..60b0185e6f 100755 --- a/tools/scan-build/ccc-analyzer +++ b/tools/scan-build/ccc-analyzer @@ -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; } |