[clang] [RFC] Initial implementation of P2719 (PR #113510)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 4 21:48:07 PST 2024


================
@@ -307,6 +307,10 @@ EXTENSION(datasizeof, LangOpts.CPlusPlus)
 
 FEATURE(cxx_abi_relative_vtable, LangOpts.CPlusPlus && LangOpts.RelativeCXXABIVTables)
 
+// Type aware allocators
+FEATURE(cxx_type_aware_allocators, LangOpts.TypeAwareAllocators)
----------------
ojhunt wrote:

Oh, I don't believe I've ever made a feature test macro (everything I've worked on has been via direct `__has_feature()` checks, I'll look into existing macros to see how they're implemented/exposed)

https://github.com/llvm/llvm-project/pull/113510


More information about the cfe-commits mailing list