llvm-project/libcxx/test/std/utilities
Louis Dionne 87784cc6fb [libc++] Undeprecate the std::allocator<void> specialization
While the std::allocator<void> specialization was deprecated by
https://wg21.link/p0174#2.2, the *use* of std::allocator<void> by users
was not. The intent was that std::allocator<void> could still be used
in C++17 and C++20, but starting with C++20 (with the removal of the
specialization), std::allocator<void> would use the primary template.
That intent was called out in wg21.link/p0619r4#3.9.

As a result of this patch, _LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS
will also not control whether the explicit specialization is provided or
not. It shouldn't matter, since in C++20, one can simply use the primary
template.

Fixes http://llvm.org/PR50299

Differential Revision: https://reviews.llvm.org/D104323
2021-06-16 09:54:29 -04:00
..
allocator.adaptor [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
any [libc++] Move handling of the target triple to the DSL 2021-05-08 11:10:53 -04:00
charconv [libc++] Move handling of the target triple to the DSL 2021-05-08 11:10:53 -04:00
format [libcxx][iwyu] ensures we IWYU as prep for modules 2021-06-15 19:43:25 +00:00
function.objects [libc++] [P0619] Add _LIBCPP_ABI_NO_BINDER_BASES and remove binder typedefs in C++20. 2021-06-15 15:05:44 -04:00
intseq [libc++] NFCI: Use Lit features to disable tests instead of #if 2020-10-16 08:35:34 -04:00
memory [libc++] Undeprecate the std::allocator<void> specialization 2021-06-16 09:54:29 -04:00
meta [libcxx] [test] Add UNSUPPORTED: msvc in a couple verify.cpp tests 2021-05-31 10:58:32 +03:00
optional [libcxx][optional] adds missing constexpr operations 2021-06-10 05:52:47 +00:00
ratio [libc++] Remove workaround for .fail.cpp tests that don't have clang-verify markup 2020-04-15 10:53:37 -04:00
smartptr/unique.ptr [libc++][nfc] Test std::unique_ptr self move assignment. 2021-06-09 20:43:12 +02:00
template.bitset [libcxx][test] Silence false positive MSVC /analyze warning 2021-01-29 10:05:14 -08:00
time [libcxx] Define LIBCPP_HAS_TIMESPEC_GET for MSVC configurations 2021-05-31 22:13:22 +03:00
tuple [libc++] [test] Fix some GCC 11 errors/warnings in these tests. NFCI. 2021-06-15 08:37:32 -04:00
type.index [libc++] Rename the -fno-rtti Lit feature to just no-rtti 2020-09-29 16:29:44 -04:00
utilities.general Support tests in freestanding 2019-02-04 20:31:13 +00:00
utility [libc++] s/_LIBCPP_NO_HAS_CHAR8_T/_LIBCPP_HAS_NO_CHAR8_T/g 2021-04-21 12:49:07 -04:00
utility.requirements [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
variant [libc++] Move handling of the target triple to the DSL 2021-05-08 11:10:53 -04:00