aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.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
commitc2e70b46b686c8debb3020891a5593f298b053ae (patch)
tree60e6920ff316fd95163cb7db0c4368a590737e5d /lib/Driver/Tools.cpp
parent829f20097e030229fd4c234b84948f53312eaf55 (diff)
[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
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r--lib/Driver/Tools.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index b72f12abde..804094ba53 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -1391,8 +1391,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
if (!Args.hasArg(options::OPT_fno_objc_arc)) {
if (const Arg *A = Args.getLastArg(options::OPT_ccc_arrmt_check,
- options::OPT_ccc_arrmt_modify,
- options::OPT_ccc_arrmt_modify_in_memory)) {
+ options::OPT_ccc_arrmt_modify)) {
switch (A->getOption().getID()) {
default:
llvm_unreachable("missed a case");
@@ -1402,9 +1401,6 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
case options::OPT_ccc_arrmt_modify:
CmdArgs.push_back("-arcmt-modify");
break;
- case options::OPT_ccc_arrmt_modify_in_memory:
- CmdArgs.push_back("-arcmt-modify-in-memory");
- break;
}
}
}