llvm-project/libcxx/test/std/containers/sequences/vector
Arthur O'Dwyer dd15c2723c [libc++] [P1518R2] Better CTAD behavior for containers with allocators.
P1518 does the following in C++23 but we'll just do it in C++17 as well:
- Stop requiring `Alloc` to be an allocator on some container-adaptor deduction guides
- Stop deducing from `Allocator` on some sequence container constructors
- Stop deducing from `Allocator` on some other container constructors (libc++ already did this)

The affected constructors are the "allocator-extended" versions of
constructors where the non-allocator arguments are already sufficient
to deduce the allocator type. For example,

    std::pmr::vector<int> v1;
    std::vector v2(v1, std::pmr::new_delete_resource());
    std::stack s2(v1, std::pmr::new_delete_resource());

Differential Revision: https://reviews.llvm.org/D97742
2021-06-18 15:54:46 -04:00
..
vector.capacity [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
vector.cons [libc++] [P1518R2] Better CTAD behavior for containers with allocators. 2021-06-18 15:54:46 -04:00
vector.data 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
vector.erasure [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
vector.modifiers [libcxx][nfc] prefixes test type `input_iterator` with `cpp17_` 2021-05-02 05:02:59 +00:00
vector.special [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
access.pass.cpp Mark vector::operator[] and front/back as noexcept. We already do this for string and string_view. This should give better codegen inside of noexcept functions. Add tests for op[]/front/back/at, because apparently we had none. 2019-03-15 00:29:35 +00:00
allocator_mismatch.compile.fail.cpp [libc++] Remove workaround for .fail.cpp tests that don't have clang-verify markup 2020-04-15 10:53:37 -04:00
contiguous.pass.cpp 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 [libcxx][ranges] Add `contiguous_iterator`. 2021-05-14 15:27:40 -07:00
iterators.pass.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00
range_concept_conformance.compile.pass.cpp [libcxx][ranges] Implement `ranges::borrowed_range`. 2021-05-20 11:51:44 -07:00
types.pass.cpp [libc++] Translate MODULES_DEFINES annotations to ADDITIONAL_COMPILE_FLAGS 2020-04-07 14:40:49 -04:00