From c2e70b46b686c8debb3020891a5593f298b053ae Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Fri, 17 Jun 2011 23:49:31 +0000 Subject: [arcmt] Remove '-arcmt-modify-in-memory', it turned out less useful than we hoped it would be. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133315 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/CompilerInvocation.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'lib/Frontend/CompilerInvocation.cpp') diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index 2c158fb1e4..c9718c4d88 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -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; } } -- cgit v1.2.3-18-g5258