[PATCH] D91565: Guard init_priority attribute within libc++

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 18 11:28:18 PST 2020


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


================
Comment at: libcxx/include/experimental/__config:80
+// Detect if the init_priority attribute is supported.
+#if (defined(_LIBCPP_COMPILER_GCC) && defined(__APPLE__)) \
+  || defined(_LIBCPP_COMPILER_MSVC) || defined(__MVS__)
----------------
Just remove that entirely and use the one from the main `<__config>` file.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91565



More information about the cfe-commits mailing list