From: Ted Kremenek Date: Thu, 10 Jan 2013 19:29:31 +0000 (+0000) Subject: ccc-analyzer: Forward -msse* options to the compiler. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75dcea57daa9bd6316a04ebdeee7c0a08781473d;p=clang ccc-analyzer: Forward -msse* options to the compiler. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172094 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index f94f804a29..df694f5027 100755 --- a/tools/scan-build/ccc-analyzer +++ b/tools/scan-build/ccc-analyzer @@ -491,6 +491,10 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) { while ($Cnt > 0) { ++$i; --$Cnt; push @CompileOpts, $ARGV[$i]; } next; } + if ($Arg =~ /-msse.*/) { + push @CompileOpts,$Arg; + next; + } # Options with possible arguments that should pass through to linker. if (defined $LinkerOptionMap{$ArgKey}) {