diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-01-26 20:57:58 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-01-26 20:57:58 +0000 |
commit | bbdfad581fa300fa0d162d968ec14de3c95fc760 (patch) | |
tree | c468af2a59e7ce91a89022b916319c2147b60ac9 /include/clang/ARCMigrate/ARCMT.h | |
parent | e8c904ff343f440e213b88e6963f5ebfbec7ae60 (diff) | |
download | clang-bbdfad581fa300fa0d162d968ec14de3c95fc760.tar.gz |
objc-arc: introduce -no-finalize-removal which in gc mode,
leaves "finalize' behind and in arc mode, does not
include it. This allows the migrated source to be compiled
in both gc and arc mode. // rdar://10532441
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149079 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/ARCMigrate/ARCMT.h')
-rw-r--r-- | include/clang/ARCMigrate/ARCMT.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/ARCMigrate/ARCMT.h b/include/clang/ARCMigrate/ARCMT.h index b05dd4c95d..738a00dcd0 100644 --- a/include/clang/ARCMigrate/ARCMT.h +++ b/include/clang/ARCMigrate/ARCMT.h @@ -78,7 +78,8 @@ bool getFileRemappings(std::vector<std::pair<std::string,std::string> > &remap, typedef void (*TransformFn)(MigrationPass &pass); -std::vector<TransformFn> getAllTransformations(LangOptions::GCMode OrigGCMode); +std::vector<TransformFn> getAllTransformations(LangOptions::GCMode OrigGCMode, + bool NoFinalizeRemoval); class MigrationProcess { CompilerInvocation OrigCI; |