aboutsummaryrefslogtreecommitdiff
path: root/tools/scan-build/ccc-analyzer
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-01-26 23:30:13 +0000
committerTed Kremenek <kremenek@apple.com>2012-01-26 23:30:13 +0000
commit71d9d5cb9d2fc50675e473e7b5883defb281ffd0 (patch)
tree8310a2eec666c482990e9f1f3426b776f813a8da /tools/scan-build/ccc-analyzer
parent3a643afa402d51b5fc4faccb4329e9c4392d4551 (diff)
Teach ccc-analyzer about -fobjc-abi-version.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/scan-build/ccc-analyzer')
-rwxr-xr-xtools/scan-build/ccc-analyzer3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer
index 09de7e2b21..1b273b8c23 100755
--- a/tools/scan-build/ccc-analyzer
+++ b/tools/scan-build/ccc-analyzer
@@ -331,7 +331,6 @@ my %CompileOptionMap = (
'-nostdinc' => 0,
'-fblocks' => 0,
'-fno-builtin' => 0,
- '-fobjc-arc' => 0,
'-fobjc-gc-only' => 0,
'-fobjc-gc' => 0,
'-ffreestanding' => 0,
@@ -350,6 +349,8 @@ my %LinkerOptionMap = (
);
my %CompilerLinkerOptionMap = (
+ '-fobjc-arc' => 0,
+ '-fobjc-abi-version' => 0, # This is really a 1 argument, but always has '='
'-isysroot' => 1,
'-arch' => 1,
'-m32' => 0,