[libcxx-commits] [PATCH] D135813: [libc++][PMR] Add availability macros

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 13 09:44:54 PDT 2022


ldionne requested changes to this revision.
ldionne added inline comments.
This revision now requires changes to proceed.


================
Comment at: libcxx/include/__availability:278
 
+#  define _LIBCPP_AVAILABILITY_MEMORY_RESOURCE [[__gnu__::__availability__(unavailable)]]
+
----------------
I *think* it does the correct thing, but you should be adding tests to verify that. See for example `libcxx/test/libcxx/thread/atomic.availability.verify.cpp`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135813



More information about the libcxx-commits mailing list