From 49db052db492c6a8b8fc08ed27757808c0b7b8f6 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 26 Jan 2012 23:30:13 +0000 Subject: [PATCH] Teach ccc-analyzer about -fobjc-abi-version. llvm-svn: 149094 --- clang/tools/scan-build/ccc-analyzer | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/tools/scan-build/ccc-analyzer b/clang/tools/scan-build/ccc-analyzer index 09de7e2b2148..1b273b8c2333 100755 --- a/clang/tools/scan-build/ccc-analyzer +++ b/clang/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,