summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index 45f9ac74862..1c149080df7 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -4242,10 +4242,10 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
options::OPT_fno_assume_sane_operator_new))
CmdArgs.push_back("-fno-assume-sane-operator-new");
- // -def-sized-delete: default implementation of sized delete as a
+ // -fdefine-sized-deallocation: default implementation of sized delete as a
// weak definition.
- if (Args.hasArg(options::OPT_fdef_sized_delete))
- CmdArgs.push_back("-fdef-sized-delete");
+ 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.
OpenPOWER on IntegriCloud