aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2013-04-23 00:10:55 +0000
committerTed Kremenek <kremenek@apple.com>2013-04-23 00:10:55 +0000
commit11a90ed93f32791bc1bc7937825d43a97a2d4881 (patch)
tree2107c7bbb6e6d58e9ab2a1f6a4c778defcc0ab7c /tools
parent2fb5d1297e874d8f6d86a3586c7d25dcfb104f69 (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-xtools/scan-build/ccc-analyzer2
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;
}