[libcxx-commits] [PATCH] D91154: [libc++] Guard __cpp_lib_constexpr_dynamic_alloc with compiler support

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 8 07:57:49 PST 2021


ldionne accepted this revision.
ldionne added a comment.
This revision is now accepted and ready to land.

I'm not a big fan of making `__cpp_lib_constexpr_dynamic_alloc` depend on `__cpp_constexpr_dynamic_alloc`. I'd rather we assume the compiler provides the right support when C++20 is enabled, since this simplifies everything. But since we currently claim to support older compilers, let's make this change.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91154/new/

https://reviews.llvm.org/D91154



More information about the libcxx-commits mailing list