diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-29 04:40:38 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-29 04:40:38 +0000 |
| commit | 4cb295d3b32cb04215f87948fbf944ee4c31de1b (patch) | |
| tree | fcb9ea323537749372b7c94ec7ec3b96fd302c0b /lib/Frontend/CompilerInvocation.cpp | |
| parent | 00549b4bc148f02ea41cdc4987f55833019db6af (diff) | |
| download | clang-4cb295d3b32cb04215f87948fbf944ee4c31de1b.tar.gz clang-4cb295d3b32cb04215f87948fbf944ee4c31de1b.tar.bz2 clang-4cb295d3b32cb04215f87948fbf944ee4c31de1b.tar.xz | |
Implement C++1y sized deallocation (n3778). This is not enabled by -std=c++1y;
instead, it's enabled by the -cc1 flag -fsized-deallocation, until we sort out
the backward-compatibility issues.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
| -rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index d25801a7a7..58a6e25d5c 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -1292,6 +1292,7 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, Opts.NoBuiltin = Args.hasArg(OPT_fno_builtin) || Opts.Freestanding; 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.HeinousExtensions = Args.hasArg(OPT_fheinous_gnu_extensions); Opts.AccessControl = !Args.hasArg(OPT_fno_access_control); Opts.ElideConstructors = !Args.hasArg(OPT_fno_elide_constructors); |
