summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-06-17 23:49:31 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-06-17 23:49:31 +0000
commit1240f4e53a6eb0a0f25b714d0e994137bc3d26c5 (patch)
tree93215c778acaca1e29c604198cd1258646bfa336 /clang/lib/Frontend/CompilerInvocation.cpp
parent804e6d191bb3a59995b2af0314ac54851a7588c6 (diff)
downloadbcm5719-llvm-1240f4e53a6eb0a0f25b714d0e994137bc3d26c5.tar.gz
bcm5719-llvm-1240f4e53a6eb0a0f25b714d0e994137bc3d26c5.zip
[arcmt] Remove '-arcmt-modify-in-memory', it turned out less useful than we hoped it would be.
llvm-svn: 133315
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 2c158fb1e4c..c9718c4d881 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/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;
}
}
OpenPOWER on IntegriCloud