Skip to content

Commit b44bc7d

Browse files
committed
[scan-build] Whitelist all -mXXXX options.
llvm-svn: 180073
1 parent 2100515 commit b44bc7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/tools/scan-build/ccc-analyzer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) {
491491
while ($Cnt > 0) { ++$i; --$Cnt; push @CompileOpts, $ARGV[$i]; }
492492
next;
493493
}
494-
if ($Arg =~ /-msse.*/) {
494+
if ($Arg =~ /-m.*/) {
495495
push @CompileOpts,$Arg;
496496
next;
497497
}

0 commit comments

Comments
 (0)