]> granicus.if.org Git - clang/commit
arc migrator: Provide infrastructure to add options
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 25 Jan 2012 00:20:29 +0000 (00:20 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 25 Jan 2012 00:20:29 +0000 (00:20 +0000)
commitb5c6babd3d8e0233b8ea5a4eb1e2700e30c0d396
treee5deec788a11cba4e6a7d0f20be47bb4c436d04e
parent44fae525e792f09ecbe07c0a62cdbcb81e04306b
arc migrator: Provide infrastructure to add options
specific to migrator. Use its first option to
warn migrating from GC to arc when
NSAllocateCollectable/NSReallocateCollectable is used.
// rdar://10532541

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148887 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CC1Options.td
include/clang/Frontend/CompilerInvocation.h
include/clang/Frontend/MigratorOptions.h [new file with mode: 0644]
lib/ARCMigrate/ARCMT.cpp
lib/ARCMigrate/Internals.h
lib/ARCMigrate/TransGCCalls.cpp
lib/ARCMigrate/TransformActions.cpp
lib/Frontend/CompilerInvocation.cpp
test/ARCMT/GC-check-warn-nsalloc.m [new file with mode: 0644]