]> granicus.if.org Git - clang/commitdiff
scan-build: pass -target through to analyzer
authorJordan Rose <jordan_rose@apple.com>
Thu, 8 Aug 2013 16:06:26 +0000 (16:06 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 8 Aug 2013 16:06:26 +0000 (16:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187989 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/ccc-analyzer

index f0f25535601fb744dca31182e999dbcd3023b531..5f6314882ba5d8728c10f0e47415c3451306adc7 100755 (executable)
@@ -349,6 +349,7 @@ my %CompilerLinkerOptionMap = (
   '-m32' => 0,
   '-m64' => 0,
   '-stdlib' => 0, # This is really a 1 argument, but always has '='
+  '-target' => 1,
   '-v' => 0,
   '-mmacosx-version-min' => 0, # This is really a 1 argument, but always has '='
   '-miphoneos-version-min' => 0 # This is really a 1 argument, but always has '='