summaryrefslogtreecommitdiffstats
path: root/clang/include
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-01-26 20:57:58 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-01-26 20:57:58 +0000
commit48fd81b484adde233b524acc94276fe7a69f33aa (patch)
treead8375a117d9a186b067c208c42bd2cefe20569a /clang/include
parent88fce10928d96bc5373c2f01ad597208fb436574 (diff)
downloadbcm5719-llvm-48fd81b484adde233b524acc94276fe7a69f33aa.tar.gz
bcm5719-llvm-48fd81b484adde233b524acc94276fe7a69f33aa.zip
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 llvm-svn: 149079
Diffstat (limited to 'clang/include')
-rw-r--r--clang/include/clang/ARCMigrate/ARCMT.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/include/clang/ARCMigrate/ARCMT.h b/clang/include/clang/ARCMigrate/ARCMT.h
index b05dd4c95d2..738a00dcd01 100644
--- a/clang/include/clang/ARCMigrate/ARCMT.h
+++ b/clang/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;
OpenPOWER on IntegriCloud