aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorLarisse Voufo <lvoufo@google.com>2015-02-21 01:03:48 +0000
committerLarisse Voufo <lvoufo@google.com>2015-02-21 01:03:48 +0000
commitdcc0eddd182cdbb1c97ec78d346feb95f6fc4bd4 (patch)
tree55bd8747a32504dc6ed7993c9aca4e8a93bb7042 /clang/lib/Driver/Tools.cpp
parent70ab3d2af667a97523d2ab4f03b0d2f978693f47 (diff)
downloadllvm-dcc0eddd182cdbb1c97ec78d346feb95f6fc4bd4.zip
llvm-dcc0eddd182cdbb1c97ec78d346feb95f6fc4bd4.tar.gz
llvm-dcc0eddd182cdbb1c97ec78d346feb95f6fc4bd4.tar.bz2
Move -fdefine-sized-deallocation and -fno-sized-deallocation options from driver into CC1 for now.
llvm-svn: 230112
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index a8cfe82..28279bb 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -4222,15 +4222,6 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
if (!Args.hasFlag(options::OPT_fassume_sane_operator_new,
options::OPT_fno_assume_sane_operator_new))
CmdArgs.push_back("-fno-assume-sane-operator-new");
-
- // -fno-sized-deallocation: disable sized delete.
- if (Args.hasArg(options::OPT_fno_sized_deallocation))
- CmdArgs.push_back("-fno-sized-deallocation");
-
- // -fdefine-sized-deallocation: default implementation of sized delete as a
- // weak definition.
- if (Args.hasArg(options::OPT_fdefine_sized_deallocation))
- CmdArgs.push_back("-fdefine-sized-deallocation");
// -fconstant-cfstrings is default, and may be subject to argument translation
// on Darwin.