[libcxx-commits] [PATCH] D90257: [libc++] Use the using_if_exists attribute when provided

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 2 09:01:15 PDT 2021


ldionne added subscribers: mstorsjo, jasonliu, phosek, danalbert.
ldionne added a comment.

After a quick grep through the sources, it seems like the following macros are the ones that currently gate using declarations:

  _LIBCPP_C_HAS_NO_GETS
  _LIBCPP_HAS_ALIGNED_ALLOC
  _LIBCPP_HAS_NO_FGETPOS_FSETPOS
  _LIBCPP_HAS_NO_GLOBAL_FILESYSTEM_NAMESPACE
  _LIBCPP_HAS_NO_LONG_LONG
  _LIBCPP_HAS_NO_STDIN
  _LIBCPP_HAS_NO_STDOUT
  _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS
  _LIBCPP_HAS_QUICK_EXIT
  _LIBCPP_HAS_TIMESPEC_GET
  _LIBCPP_WINDOWS_STORE_APP

If you see this review and are currently depending on one of these macros, please be aware that we will eventually stop guarding those declarations based on those macros (and in some cases that means a macro will become unused and we'll remove it). I'll do my best to communicate with vendors before that happens, however this is an early heads up.

@jasonliu @lebedev.ri @mstorsjo @danalbert @phosek for awareness.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90257



More information about the libcxx-commits mailing list