llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared
Joe Loser 400b33e18d
[libc++] Disallow volatile types in std::allocator
LWG 2447 is marked as `Complete`, but there is no `static_assert` to
reject volatile types in `std::allocator`. See the discussion at
https://reviews.llvm.org/D108856.

Add `static_assert` in `std::allocator` to disallow volatile types. Since this
is an implementation choice, mark the binding test as `libc++` only.

Remove tests that use containers backed by `std::allocator` that test
the container when used with a volatile type.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D109056
2021-09-22 11:47:38 -04:00
..
util.smartptr.getdeleter [libc++] Rename the -fno-rtti Lit feature to just no-rtti 2020-09-29 16:29:44 -04:00
util.smartptr.shared.assign [libcxx] Allow shared_ptr's unique_ptr converting constructor to support array types. 2021-04-08 22:04:57 -07:00
util.smartptr.shared.cast [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
util.smartptr.shared.cmp Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
util.smartptr.shared.const [libc++] Remove workarounds for the lack of deduction guides in C++17 2021-08-18 08:57:25 -04:00
util.smartptr.shared.create [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
util.smartptr.shared.dest
util.smartptr.shared.io [libc++] Add a libc++ configuration that does not support localization 2020-10-27 14:56:30 -04:00
util.smartptr.shared.mod [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
util.smartptr.shared.obs [libc++] Remove test-suite annotations for unsupported Clang versions 2021-08-20 15:05:13 -04:00
util.smartptr.shared.spec Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
iterator_concept_conformance.compile.pass.cpp [libc++] Remove Lit annotations for unsupported GCC versions from the test suite 2021-08-12 13:30:47 -04:00
types.pass.cpp [libcxx] Re-commit: shared_ptr changes from library fundamentals (P0414R2). 2020-05-12 11:23:18 -07:00