summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorLarisse Voufo <lvoufo@google.com>2015-02-18 01:04:10 +0000
committerLarisse Voufo <lvoufo@google.com>2015-02-18 01:04:10 +0000
commite990a3f60ccd34c0d9c1edebfc17a193b8c052cd (patch)
tree4af48afd23146876808855b36237285dd668469e /clang/lib/Frontend/CompilerInvocation.cpp
parent8af49b32143f63ed6e9ed34927876bd5418fe7ee (diff)
downloadbcm5719-llvm-e990a3f60ccd34c0d9c1edebfc17a193b8c052cd.tar.gz
bcm5719-llvm-e990a3f60ccd34c0d9c1edebfc17a193b8c052cd.zip
Rename flags and options to match current naming: from -fdef-sized-delete to -fdefine-sized-deallocation, and from DefaultSizedDelete to DefineSizedDeallocation.
llvm-svn: 229597
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index b060712f672..7413ae2601d 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1525,8 +1525,8 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK,
Opts.NoMathBuiltin = Args.hasArg(OPT_fno_math_builtin);
Opts.AssumeSaneOperatorNew = !Args.hasArg(OPT_fno_assume_sane_operator_new);
Opts.SizedDeallocation |= Args.hasArg(OPT_fsized_deallocation);
- Opts.DefaultSizedDelete = Opts.SizedDeallocation &&
- Args.hasArg(OPT_fdef_sized_delete);
+ Opts.DefineSizedDeallocation = Opts.SizedDeallocation &&
+ Args.hasArg(OPT_fdefine_sized_deallocation);
Opts.HeinousExtensions = Args.hasArg(OPT_fheinous_gnu_extensions);
Opts.AccessControl = !Args.hasArg(OPT_fno_access_control);
Opts.ElideConstructors = !Args.hasArg(OPT_fno_elide_constructors);
OpenPOWER on IntegriCloud