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
diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer
index b8f7193..c7636f9 100755
--- a/tools/scan-build/ccc-analyzer
+++ b/tools/scan-build/ccc-analyzer
@@ -347,6 +347,8 @@
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,