[libcxx-commits] [PATCH] D108203: [libc++] Rely solely on using_if_exists for ::aligned_alloc, ::quick_exit and ::timespec_get

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 17 08:03:44 PDT 2021


ldionne updated this revision to Diff 366904.
ldionne retitled this revision from "[libc++] Rely solely on using_if_exists for ::aligned_alloc" to "[libc++] Rely solely on using_if_exists for ::aligned_alloc, ::quick_exit and ::timespec_get".
ldionne edited the summary of this revision.
ldionne added a comment.
Herald added subscribers: mstorsjo, krytarowski.

Expand the change to timespec_get and quick_exit.

Note that we'll have to wait for a while before we can submit this change, since we need to drop support
for Clang 12 (which doesn't support the attribute). I'm putting this patch up for review to give a heads
up to vendors and to show that this is the ideal direction for the library, but I'll also have to fix the
incorrect logic separately on Apple platforms.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108203

Files:
  libcxx/include/__config
  libcxx/include/cstdlib
  libcxx/include/ctime
  libcxx/test/libcxx/language.support/has_aligned_alloc.compile.pass.cpp
  libcxx/test/libcxx/language.support/has_quick_exit.compile.pass.cpp
  libcxx/test/libcxx/language.support/has_timespec_get.compile.pass.cpp
  libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp
  libcxx/test/std/language.support/support.runtime/cstdlib.pass.cpp
  libcxx/test/std/language.support/support.runtime/ctime.pass.cpp
  libcxx/test/std/language.support/support.start.term/at_quick_exit.compile.fail.cpp
  libcxx/test/std/language.support/support.start.term/quick_exit.compile.fail.cpp
  libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp
  libcxx/test/std/utilities/time/date.time/ctime.pass.cpp
  libcxx/test/support/test_macros.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108203.366904.patch
Type: text/x-patch
Size: 18242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210817/8956e151/attachment-0001.bin>


More information about the libcxx-commits mailing list