[arcmt] Remove '-arcmt-modify-in-memory', it turned out less useful than we hoped it would be.

llvm-svn: 133315
This commit is contained in:
Argyrios Kyrtzidis
2011-06-17 23:49:31 +00:00
parent 804e6d191b
commit 1240f4e53a
10 changed files with 3 additions and 86 deletions

View File

@@ -424,9 +424,6 @@ static void FrontendOptsToArgs(const FrontendOptions &Opts,
case FrontendOptions::ARCMT_Modify:
Res.push_back("-arcmt-modify");
break;
case FrontendOptions::ARCMT_ModifyInMemory:
Res.push_back("-arcmt-modify-in-memory");
break;
}
bool NeedLang = false;
@@ -1242,8 +1239,7 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
Opts.ARCMTAction = FrontendOptions::ARCMT_None;
if (const Arg *A = Args.getLastArg(OPT_arcmt_check,
OPT_arcmt_modify,
OPT_arcmt_modify_in_memory)) {
OPT_arcmt_modify)) {
switch (A->getOption().getID()) {
default:
llvm_unreachable("missed a case");
@@ -1253,9 +1249,6 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
case OPT_arcmt_modify:
Opts.ARCMTAction = FrontendOptions::ARCMT_Modify;
break;
case OPT_arcmt_modify_in_memory:
Opts.ARCMTAction = FrontendOptions::ARCMT_ModifyInMemory;
break;
}
}