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 | 48fd81b484adde233b524acc94276fe7a69f33aa (patch) | |
tree | ad8375a117d9a186b067c208c42bd2cefe20569a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 88fce10928d96bc5373c2f01ad597208fb436574 (diff) | |
download | bcm5719-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/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 5a0117af5a9..a189155e12d 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1065,6 +1065,7 @@ static bool ParseAnalyzerArgs(AnalyzerOptions &Opts, ArgList &Args, static bool ParseMigratorArgs(MigratorOptions &Opts, ArgList &Args) { Opts.NoNSAllocReallocError = Args.hasArg(OPT_migrator_no_nsalloc_error); + Opts.NoFinalizeRemoval = Args.hasArg(OPT_migrator_no_finalize_removal); return true; } |