aboutsummaryrefslogtreecommitdiff
path: root/tools/scan-build
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-08-07 19:27:08 +0000
committerTed Kremenek <kremenek@apple.com>2012-08-07 19:27:08 +0000
commit6e53137f447a455ccddc2cae5aa000d56fe4b50b (patch)
treea1c3bef903834adaf9e2cc7db9fb2e23242c223d /tools/scan-build
parentcff339a60a571a606a7510548f661dc6a719368d (diff)
Teach ccc-analyze about -fobjc-legacy-dispatch and -mios-simulator-version-min
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/scan-build')
-rwxr-xr-xtools/scan-build/ccc-analyzer2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer
index b8f7193dd6..c7636f9e8e 100755
--- a/tools/scan-build/ccc-analyzer
+++ b/tools/scan-build/ccc-analyzer
@@ -347,6 +347,8 @@ my %LinkerOptionMap = (
my %CompilerLinkerOptionMap = (
'-fobjc-arc' => 0,
'-fobjc-abi-version' => 0, # This is really a 1 argument, but always has '='
+ '-fobjc-legacy-dispatch' => 0,
+ '-mios-simulator-version-min' => 0, # This really has 1 argument, but always has '='
'-isysroot' => 1,
'-arch' => 1,
'-m32' => 0,