Teach ccc-analyzer about -fobjc-abi-version.

llvm-svn: 149094
This commit is contained in:
Ted Kremenek 2012-01-26 23:30:13 +00:00
parent 5e5eabb5ab
commit 49db052db4
1 changed files with 2 additions and 1 deletions

View File

@ -331,7 +331,6 @@ my %CompileOptionMap = (
'-nostdinc' => 0, '-nostdinc' => 0,
'-fblocks' => 0, '-fblocks' => 0,
'-fno-builtin' => 0, '-fno-builtin' => 0,
'-fobjc-arc' => 0,
'-fobjc-gc-only' => 0, '-fobjc-gc-only' => 0,
'-fobjc-gc' => 0, '-fobjc-gc' => 0,
'-ffreestanding' => 0, '-ffreestanding' => 0,
@ -350,6 +349,8 @@ my %LinkerOptionMap = (
); );
my %CompilerLinkerOptionMap = ( my %CompilerLinkerOptionMap = (
'-fobjc-arc' => 0,
'-fobjc-abi-version' => 0, # This is really a 1 argument, but always has '='
'-isysroot' => 1, '-isysroot' => 1,
'-arch' => 1, '-arch' => 1,
'-m32' => 0, '-m32' => 0,