[clang] [RFC] Initial implementation of P2719 (PR #113510)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 24 02:17:19 PDT 2025
================
@@ -3521,6 +3522,10 @@ def : Flag<["-"], "faligned-new">, Alias<faligned_allocation>;
def : Flag<["-"], "fno-aligned-new">, Alias<fno_aligned_allocation>;
def faligned_new_EQ : Joined<["-"], "faligned-new=">;
+defm cxx_type_aware_allocators : BoolFOption<"cxx-type-aware-allocators",
+ LangOpts<"TypeAwareAllocators">, Default<cpp26.KeyPath>,
+ PosFlag<SetTrue, [], [ClangOption], "Enable C++26 type aware allocator operators">,
+ NegFlag<SetFalse>, BothFlags<[], [ClangOption, CC1Option]>>;
----------------
cor3ntin wrote:
This should be gone
https://github.com/llvm/llvm-project/pull/113510
More information about the cfe-commits
mailing list