• Home
  • History
  • Annotate
  • only in /external/libcxx/test/std/containers/sequences/list/
History log of /external/libcxx/test/std/containers/sequences/list/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
939607910d58aa2414091cc6eeb2e1c143a7770c 05-Feb-2017 Stephan T. Lavavej <stl@exchange.microsoft.com> [libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3.

These typedefs were completely unused.

Fixes D29136.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294155 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/size_type.pass.cpp
5597800045d2053774514354adf7fbd8bd36cc3d 05-Feb-2017 Stephan T. Lavavej <stl@exchange.microsoft.com> [libcxx] [test] Fix Clang -Wunused-local-typedef, part 1/3.

Guard typedefs and static_asserts with _LIBCPP_VERSION.

test/std/containers/sequences/vector.bool/move_assign_noexcept.pass.cpp
test/std/containers/sequences/vector.bool/move_noexcept.pass.cpp
test/std/containers/sequences/vector.bool/swap_noexcept.pass.cpp
Additionally deal with conditional compilation.

test/std/containers/associative/map/map.cons/move_noexcept.pass.cpp
test/std/containers/associative/multimap/multimap.cons/move_noexcept.pass.cpp
Additionally deal with typedefs used by other typedefs.

Fixes D29135.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294154 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/default_noexcept.pass.cpp
ist.cons/dtor_noexcept.pass.cpp
ist.cons/move_assign_noexcept.pass.cpp
ist.cons/move_noexcept.pass.cpp
ist.special/swap_noexcept.pass.cpp
4e42dc97f3cf3e63ef3e6a23cada1970259eb7ea 25-Jan-2017 Marshall Clow <mclow.lists@gmail.com> Change the return type of emplace_[front|back] back to void when building with C++14 or before. Resolves PR31680.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292990 91177308-0d34-0410-b5e6-96231b3b80d8
ist.modifiers/emplace_back.pass.cpp
ist.modifiers/emplace_front.pass.cpp
16e2ba19dfffdcf9bba202eb8a27fd79e3d15303 18-Jan-2017 Stephan T. Lavavej <stl@exchange.microsoft.com> [libcxx] [test] Fix comment typos, strip trailing whitespace.

No functional change, no code review.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292434 91177308-0d34-0410-b5e6-96231b3b80d8
ncomplete_type.pass.cpp
e9784032ce87622189cff8de9685784a6536d99b 24-Dec-2016 Eric Fiselier <eric@efcs.ca> fix warnings only produced by apple-clang

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290474 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/size_type.pass.cpp
bad1d6c248e95d6f3f401b70ee87306f4ce019a3 14-Dec-2016 Eric Fiselier <eric@efcs.ca> Fix PR31378 - std::list::remove should not require a default constructible allocator.

In list::remove we collect the nodes we're removing in a seperate
list instance. However we construct this list using the default
constructor which default constructs the allocator. However allocators
are not required to be default constructible. This patch fixes the
construction of the second list.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@289735 91177308-0d34-0410-b5e6-96231b3b80d8
ist.ops/remove.pass.cpp
fbbec294b0222bd1307f39975bd6ce26e3b9989a 12-Dec-2016 Stephan T. Lavavej <stl@exchange.microsoft.com> [libcxx] [test] Fix an improper assumption about Null Forward Iterators.

Value-initialized iterators still can't be compared to those with parents.

Fixes D26626.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@289462 91177308-0d34-0410-b5e6-96231b3b80d8
terators.pass.cpp
21208822a84ac01e34df721b7b45e67561f75b98 06-Dec-2016 Stephan T. Lavavej <stl@exchange.microsoft.com> [libcxx] [test] D27022: Fix MSVC warning C4389 "signed/unsigned mismatch", part 9/12.

Add static_cast<std::size_t> to more comparisons. (Performed manually, unlike part 8/12.)

Also, include <cstddef> when it wasn't already being included.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@288746 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/size_type.pass.cpp
63f6af49d50207a69dc8f9e45729fdd3652acf24 01-Dec-2016 Roger Ferrer Ibanez <roger.ferreribanez@arm.com> Protect sequences test under libcpp-no-exceptions

Replace throw with TEST_THROW and protect tests that do throw. Also add missing assert(false).

Differential Revision: https://reviews.llvm.org/D27252



git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@288383 91177308-0d34-0410-b5e6-96231b3b80d8
ist.modifiers/insert_iter_size_value.pass.cpp
ef3060ef96f9a8450fc5635d542b5dc207c55717 23-Nov-2016 Eric Fiselier <eric@efcs.ca> [libcxx] Fix max_size() across all containers

Summary: The `max_size()` method of containers should respect both the allocator's reported `max_size` and the range of the `difference_type`. This patch makes all containers choose the smallest of those two values.

Reviewers: mclow.lists, EricWF

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D26885

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@287729 91177308-0d34-0410-b5e6-96231b3b80d8
ist.capacity/max_size.pass.cpp
e619862dbf0c4a46db6e3d816bcafcfef6e85977 04-Nov-2016 Stephan T. Lavavej <stl@exchange.microsoft.com> [libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER.

This replaces every occurrence of _LIBCPP_STD_VER in the tests with
TEST_STD_VER. Additionally, for every affected
file, #include "test_macros.h" is being added explicitly if it wasn't
already there.

https://reviews.llvm.org/D26294

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@286007 91177308-0d34-0410-b5e6-96231b3b80d8
terators.pass.cpp
ist.cons/size_type.pass.cpp
efc9f170c9fa0b988fac6d7df8b6e177252e1a1b 31-Oct-2016 Roger Ferrer Ibanez <roger.ferreribanez@arm.com> Change from "XFAIL: libcpp-no-exceptions" to "UNSUPPORTED: libcpp-no-exceptions" tests that only check exceptions and nothing else

This is a follow up of D24562.

These tests do not check anything but exceptions, so it makes sense to mark
them as UNSUPPORTED under a library built without exceptions.

Differential Revision: https://reviews.llvm.org/D26075



git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@285550 91177308-0d34-0410-b5e6-96231b3b80d8
ist.modifiers/push_back_exception_safety.pass.cpp
ist.modifiers/push_front_exception_safety.pass.cpp
e465ff34be9174684929e35dcf031d970659f10f 27-Oct-2016 Stephan T. Lavavej <stl@exchange.microsoft.com> [PATCH] D25483: [libcxx] [test] Fix non-Standard assumptions about how many elements are allocated

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@285346 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/input_iterator.pass.cpp
ist.cons/size_type.pass.cpp
ist.cons/size_value_alloc.pass.cpp
124ed406e56ed380279a6a05f996a96ff511af9d 08-Oct-2016 Eric Fiselier <eric@efcs.ca> [libc++] Fix stack_allocator

Summary:
To quote STL the problems with stack allocator are"

>"stack_allocator<T, N> is seriously nonconformant to N4582 17.6.3.5 [allocator.requirements].
> First, it lacks a rebinding constructor. (The nested "struct rebind" isn't sufficient.)
> Second, it lacks templated equality/inequality.
> Third, it completely ignores alignment.
> Finally, and most severely, the Standard forbids its existence. Allocators are forbidden from returning memory "inside themselves". This requirement is implied by the Standard's requirements for rebinding and equality. It's permitted to return memory from a separate buffer object on the stack, though."

This patch attempts to address all of those issues.

First, instead of storing the buffer inside the allocator I've change `stack_allocator` to accept the buffer as an argument.

Second, in order to fix rebinding I changed the parameter list from `<class T, size_t NumElements>` to `<class T, size_t NumBytes>`. This allows allocator rebinding
between types that have different sizes.

Third, I added copy and rebinding constructors and assignment operators.

And finally I fixed the allocation logic to always return properly aligned storage.



Reviewers: mclow.lists, howard.hinnant, STL_MSFT

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D25154

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@283631 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/default_stack_alloc.pass.cpp
ist.cons/input_iterator.pass.cpp
ist.cons/size_type.pass.cpp
ist.cons/size_value_alloc.pass.cpp
4e3e15ad994eab09d83c1d5602597babca1d2756 25-Sep-2016 Eric Fiselier <eric@efcs.ca> [libc++] Remove various C++03 feature test macros

Summary:
Libc++ still uses per-feature configuration macros when configuring for C++11. However libc++ requires a feature-complete C++11 compiler so there is no reason to check individual features. This patch starts the process of removing the feature specific macros and replacing their usage with `_LIBCPP_CXX03_LANG`.

This patch removes the __config macros:

* _LIBCPP_HAS_NO_TRAILING_RETURN
* _LIBCPP_HAS_NO_TEMPLATE_ALIASES
* _LIBCPP_HAS_NO_ADVANCED_SFINAE
* _LIBCPP_HAS_NO_DEFAULT_FUNCTION_TEMPLATE_ARGS
* _LIBCPP_HAS_NO_STATIC_ASSERT

As a drive I also changed our C++03 static_assert to use _Static_assert if available.

I plan to commit this without review if nobody voices an objection.

Reviewers: mclow.lists

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D24895

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@282347 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/copy.pass.cpp
d4badbbc5a4c63fa9c644d4ae78ec0e38564c8dc 17-Aug-2016 Marshall Clow <mclow.lists@gmail.com> Support allocators with explicit conversion constructors. Fixes bug #29000

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@278904 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/default.pass.cpp
2d9e2e2bc8f3273b7607e96ee0b0adfdcdcdf41b 03-Aug-2016 Eric Fiselier <eric@efcs.ca> Fix compile error due to mismatched iterator types. Patch from STL@microsoft.com

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@277574 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/initializer_list_alloc.pass.cpp
775417d97c68d7cba739f8f7bcfa308d0ddec670 25-Jul-2016 Eric Fiselier <eric@efcs.ca> Make dtor_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@276595 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/dtor_noexcept.pass.cpp
03388d19d6b8ff1c95a2a57865b320ff13cd425d 25-Jul-2016 Eric Fiselier <eric@efcs.ca> Make move_assign_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@276591 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/move_assign_noexcept.pass.cpp
f4a698aa309b7c7ac7121f56607a719804c3efb2 25-Jul-2016 Eric Fiselier <eric@efcs.ca> Make swap_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com.

See D21820 for more information (https://reviews.llvm.org/D21820).



git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@276590 91177308-0d34-0410-b5e6-96231b3b80d8
ist.special/swap_noexcept.pass.cpp
a29e0e5ba2ad9a130fc712591da374e80cc7153e 25-Jul-2016 Eric Fiselier <eric@efcs.ca> Make move_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@276581 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/move_noexcept.pass.cpp
3816ef98b1665320bd5eba590c4906e9dbd070cc 21-Jul-2016 Eric Fiselier <eric@efcs.ca> Implement P0084r2. Changing emplace return types.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@276230 91177308-0d34-0410-b5e6-96231b3b80d8
ist.modifiers/emplace_back.pass.cpp
ist.modifiers/emplace_front.pass.cpp
5078baa9e0475783a366e54da37cc9e58f386325 26-Jun-2016 Eric Fiselier <eric@efcs.ca> Make default_noexcept.pass.cpp container tests more portable. Patch from STL@microsoft.com

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273823 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/default_noexcept.pass.cpp
8d2b31567cc68b380013922db17cc20339254eda 22-Jun-2016 Eric Fiselier <eric@efcs.ca> Finish converting list _LIBCPP_DEBUG tests.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273394 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/move.pass.cpp
ist.ops/splice_pos_list.pass.cpp
ist.ops/splice_pos_list_iter.pass.cpp
ist.ops/splice_pos_list_iter_iter.pass.cpp
ist.special/swap.pass.cpp
111c69683876a613454398cabce71115c47a26ae 22-Jun-2016 Eric Fiselier <eric@efcs.ca> Cleanup _LIBCPP_DEBUG tests in std::list. More to come.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273393 91177308-0d34-0410-b5e6-96231b3b80d8
b_back.pass.cpp
b_cback.pass.cpp
b_cfront.pass.cpp
b_front.pass.cpp
b_iterators_6.pass.cpp
b_iterators_7.pass.cpp
b_iterators_8.pass.cpp
b_iterators_9.pass.cpp
ist.modifiers/emplace.pass.cpp
ist.modifiers/insert_iter_rvalue.pass.cpp
ist.modifiers/pop_back.pass.cpp
506f9d5bd39359612be14d7d73080e9bf894bf27 22-Jun-2016 Eric Fiselier <eric@efcs.ca> Cleanup [list.modifiers] tests.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273371 91177308-0d34-0410-b5e6-96231b3b80d8
ist.modifiers/erase_iter_db1.pass.cpp
ist.modifiers/erase_iter_db2.pass.cpp
ist.modifiers/erase_iter_iter_db1.pass.cpp
ist.modifiers/erase_iter_iter_db2.pass.cpp
ist.modifiers/erase_iter_iter_db3.pass.cpp
ist.modifiers/erase_iter_iter_db4.pass.cpp
ist.modifiers/insert_iter_iter_iter.pass.cpp
ist.modifiers/insert_iter_size_value.pass.cpp
ist.modifiers/insert_iter_value.pass.cpp
22bff1afcc2084aec23bf9b49b9005b09df9e50c 22-Jun-2016 Eric Fiselier <eric@efcs.ca> Move remaining _LIBCPP_VERSION tests into test/libcxx

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273367 91177308-0d34-0410-b5e6-96231b3b80d8
ersion.pass.cpp
d24c465beaec2fe9a0e365e6379cd5d3acaeb2ca 14-Jun-2016 Eric Fiselier <eric@efcs.ca> Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER.

This is a huge cleanup that helps make the libc++ test suite more portable.
Patch from STL@microsoft.com. Thanks STL!


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272716 91177308-0d34-0410-b5e6-96231b3b80d8
b_back.pass.cpp
b_cback.pass.cpp
b_cfront.pass.cpp
b_front.pass.cpp
b_iterators_6.pass.cpp
b_iterators_7.pass.cpp
b_iterators_8.pass.cpp
terators.pass.cpp
ist.capacity/resize_size.pass.cpp
ist.capacity/resize_size_value.pass.cpp
ist.cons/assign_copy.pass.cpp
ist.cons/assign_initializer_list.pass.cpp
ist.cons/assign_move.pass.cpp
ist.cons/copy.pass.cpp
ist.cons/copy_alloc.pass.cpp
ist.cons/default.pass.cpp
ist.cons/default_noexcept.pass.cpp
ist.cons/default_stack_alloc.pass.cpp
ist.cons/dtor_noexcept.pass.cpp
ist.cons/initializer_list.pass.cpp
ist.cons/initializer_list_alloc.pass.cpp
ist.cons/input_iterator.pass.cpp
ist.cons/move.pass.cpp
ist.cons/move_alloc.pass.cpp
ist.cons/move_assign_noexcept.pass.cpp
ist.cons/move_noexcept.pass.cpp
ist.cons/op_equal_initializer_list.pass.cpp
ist.cons/size_type.pass.cpp
ist.cons/size_value_alloc.pass.cpp
ist.modifiers/clear.pass.cpp
ist.modifiers/emplace.pass.cpp
ist.modifiers/emplace_back.pass.cpp
ist.modifiers/emplace_front.pass.cpp
ist.modifiers/erase_iter.pass.cpp
ist.modifiers/erase_iter_db1.pass.cpp
ist.modifiers/erase_iter_db2.pass.cpp
ist.modifiers/erase_iter_iter.pass.cpp
ist.modifiers/erase_iter_iter_db1.pass.cpp
ist.modifiers/erase_iter_iter_db2.pass.cpp
ist.modifiers/erase_iter_iter_db3.pass.cpp
ist.modifiers/erase_iter_iter_db4.pass.cpp
ist.modifiers/insert_iter_initializer_list.pass.cpp
ist.modifiers/insert_iter_iter_iter.pass.cpp
ist.modifiers/insert_iter_rvalue.pass.cpp
ist.modifiers/insert_iter_size_value.pass.cpp
ist.modifiers/insert_iter_value.pass.cpp
ist.modifiers/pop_back.pass.cpp
ist.modifiers/pop_front.pass.cpp
ist.modifiers/push_back.pass.cpp
ist.modifiers/push_back_rvalue.pass.cpp
ist.modifiers/push_front.pass.cpp
ist.modifiers/push_front_rvalue.pass.cpp
ist.ops/merge.pass.cpp
ist.ops/merge_comp.pass.cpp
ist.ops/remove.pass.cpp
ist.ops/remove_if.pass.cpp
ist.ops/reverse.pass.cpp
ist.ops/sort.pass.cpp
ist.ops/sort_comp.pass.cpp
ist.ops/splice_pos_list.pass.cpp
ist.ops/splice_pos_list_iter.pass.cpp
ist.ops/splice_pos_list_iter_iter.pass.cpp
ist.ops/unique.pass.cpp
ist.ops/unique_pred.pass.cpp
ist.special/swap.pass.cpp
ypes.pass.cpp
84acb1ec3f7d5e0f37d7176697c2fa876c413407 01-Jun-2016 Eric Fiselier <eric@efcs.ca> Remove trailing whitespace in test suite. Approved by Marshall Clow.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@271435 91177308-0d34-0410-b5e6-96231b3b80d8
b_iterators_9.pass.cpp
ist.modifiers/pop_back.pass.cpp
ist.special/swap_noexcept.pass.cpp
ypes.pass.cpp
a3eac518e64aa0230894e4dde26c3f9714609e64 28-May-2016 Asiri Rathnayake <asiri.rathnayake@arm.com> [libcxx] Improve tests to use the UNSUPPORTED lit directive

Quite a few libcxx tests seem to follow the format:
#if _LIBCPP_STD_VER > X
// Do test.
#else
// Empty test.
#endif
We should instead use the UNSUPPORTED lit directive to exclude the test on
earlier C++ standards. This gives us a more accurate number of test passes
for those standards and avoids unnecessary conflicts with other lit
directives on the same tests.

Reviewers: bcraig, ericwf, mclow.lists

Differential revision: http://reviews.llvm.org/D20730

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@271108 91177308-0d34-0410-b5e6-96231b3b80d8
b_iterators_9.pass.cpp
5ccbc4877466279badcf2b1b46afc641cc401851 22-Apr-2016 Eric Fiselier <eric@efcs.ca> Fix some non-standard parts of our test suite. Reported by STL

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267131 91177308-0d34-0410-b5e6-96231b3b80d8
ist.special/db_swap_1.pass.cpp
c6c26a44def0e7811ffcd928b8eeafa1a6edd626 22-Apr-2016 Eric Fiselier <eric@efcs.ca> Complete LWG issue #2016. Allocators must be nothrow swappable

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267085 91177308-0d34-0410-b5e6-96231b3b80d8
ist.special/swap_noexcept.pass.cpp
d7d1bda0f46b192374a3c4ba89e83fe69dcaaee1 09-Mar-2016 Marshall Clow <mclow.lists@gmail.com> Add some more tests for the containers type requirements

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@263029 91177308-0d34-0410-b5e6-96231b3b80d8
ypes.pass.cpp
14ba0ad6894eec179bae45550491ff5dcdccee55 26-Nov-2015 Marshall Clow <mclow.lists@gmail.com> Add static_assert to set/multiset/map/multimap/forward_list/deque that the allocator's value_type match the container's value_type. vector/unordered/list/string already do this. Add tests for all the containers to verify this.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@254119 91177308-0d34-0410-b5e6-96231b3b80d8
llocator_mismatch.fail.cpp
cc2e93cff0abb6448aae701abdddc065c1c34a18 10-Nov-2015 Asiri Rathnayake <asiri.rathnayake@arm.com> Make it possible to build a no-exceptions variant of libcxx.

Fixes a small omission in libcxx that prevents libcxx being built when
-DLIBCXX_ENABLE_EXCEPTIONS=0 is specified.

This patch adds XFAILS to all those tests that are currently failing
on the new -fno-exceptions library variant. Follow-up patches will
update the tests (progressively) to cope with the new library variant.

Change-Id: I4b801bd8d8e4fe7193df9e55f39f1f393a8ba81a

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@252598 91177308-0d34-0410-b5e6-96231b3b80d8
ist.modifiers/insert_iter_iter_iter.pass.cpp
ist.modifiers/insert_iter_size_value.pass.cpp
ist.modifiers/insert_iter_value.pass.cpp
ist.modifiers/push_back_exception_safety.pass.cpp
ist.modifiers/push_front_exception_safety.pass.cpp
bb2f28e15d3666b9316bf77ced071f16fa0fc70e 23-Aug-2015 Eric Fiselier <eric@efcs.ca> Recommit rL245802: Cleanup fancy pointer rebinding in list using __rebind_pointer.

Currently we need an #ifdef branch every time we use pointer traits to rebind a pointer because
it is done differently in C++11 and C++03. This patch introduces the __rebind_pointer utility to
clean this up.

Also add a test that list and it's iterators can be instantiated with incomplete element types.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@245806 91177308-0d34-0410-b5e6-96231b3b80d8
ncomplete_type.pass.cpp
7d914d1bfffac32da13a44871fc17b8ba3ade57a 13-Jul-2015 Marshall Clow <mclow.lists@gmail.com> Implement the first part of N4258: 'Cleaning up noexcept in the Library'. This patch deals with swapping containers, and implements a more strict noexcept specification (a conforming extension) than the standard mandates.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242056 91177308-0d34-0410-b5e6-96231b3b80d8
ist.special/swap_noexcept.pass.cpp
07a4bec1dd600078aa8ec64f5aaeae9a7cc5d7d8 10-Mar-2015 Eric Fiselier <eric@efcs.ca> Use generic feature name for sanitizers that replace new and delete

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@231841 91177308-0d34-0410-b5e6-96231b3b80d8
ist.modifiers/insert_iter_iter_iter.pass.cpp
ist.modifiers/insert_iter_size_value.pass.cpp
ist.modifiers/insert_iter_value.pass.cpp
df00d5e5ad672aa275a29c5a446072959134addd 28-Jan-2015 Marshall Clow <mclow.lists@gmail.com> We had two identical files named 'MoveOnly.h' in the test suite. Move one to support/, remove the other, and update all the tests that included them. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@227370 91177308-0d34-0410-b5e6-96231b3b80d8
ist.cons/assign_move.pass.cpp
ist.cons/default_noexcept.pass.cpp
ist.cons/dtor_noexcept.pass.cpp
ist.cons/move.pass.cpp
ist.cons/move_alloc.pass.cpp
ist.cons/move_assign_noexcept.pass.cpp
ist.cons/move_noexcept.pass.cpp
ist.modifiers/insert_iter_rvalue.pass.cpp
ist.modifiers/push_back_rvalue.pass.cpp
ist.modifiers/push_front_rvalue.pass.cpp
ist.special/swap_noexcept.pass.cpp
a1bca66d28644dcd672da4e02a99b218ddb42449 26-Jan-2015 Marshall Clow <mclow.lists@gmail.com> Added test for incomplete type support in vector/list/forward_list. References PR#17980

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@227131 91177308-0d34-0410-b5e6-96231b3b80d8
ypes.pass.cpp
a90c6dd46005b2b14de3bb889a8d03bb34bd3256 20-Dec-2014 Eric Fiselier <eric@efcs.ca> Move test into test/std subdirectory.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@224658 91177308-0d34-0410-b5e6-96231b3b80d8
b_back.pass.cpp
b_cback.pass.cpp
b_cfront.pass.cpp
b_front.pass.cpp
b_iterators_6.pass.cpp
b_iterators_7.pass.cpp
b_iterators_8.pass.cpp
b_iterators_9.pass.cpp
terators.pass.cpp
ist.capacity/resize_size.pass.cpp
ist.capacity/resize_size_value.pass.cpp
ist.cons/assign_copy.pass.cpp
ist.cons/assign_initializer_list.pass.cpp
ist.cons/assign_move.pass.cpp
ist.cons/copy.pass.cpp
ist.cons/copy_alloc.pass.cpp
ist.cons/default.pass.cpp
ist.cons/default_noexcept.pass.cpp
ist.cons/default_stack_alloc.pass.cpp
ist.cons/dtor_noexcept.pass.cpp
ist.cons/initializer_list.pass.cpp
ist.cons/initializer_list_alloc.pass.cpp
ist.cons/input_iterator.pass.cpp
ist.cons/move.pass.cpp
ist.cons/move_alloc.pass.cpp
ist.cons/move_assign_noexcept.pass.cpp
ist.cons/move_noexcept.pass.cpp
ist.cons/op_equal_initializer_list.pass.cpp
ist.cons/size_type.pass.cpp
ist.cons/size_value_alloc.pass.cpp
ist.modifiers/clear.pass.cpp
ist.modifiers/emplace.pass.cpp
ist.modifiers/emplace_back.pass.cpp
ist.modifiers/emplace_front.pass.cpp
ist.modifiers/erase_iter.pass.cpp
ist.modifiers/erase_iter_db1.pass.cpp
ist.modifiers/erase_iter_db2.pass.cpp
ist.modifiers/erase_iter_iter.pass.cpp
ist.modifiers/erase_iter_iter_db1.pass.cpp
ist.modifiers/erase_iter_iter_db2.pass.cpp
ist.modifiers/erase_iter_iter_db3.pass.cpp
ist.modifiers/erase_iter_iter_db4.pass.cpp
ist.modifiers/insert_iter_initializer_list.pass.cpp
ist.modifiers/insert_iter_iter_iter.pass.cpp
ist.modifiers/insert_iter_rvalue.pass.cpp
ist.modifiers/insert_iter_size_value.pass.cpp
ist.modifiers/insert_iter_value.pass.cpp
ist.modifiers/pop_back.pass.cpp
ist.modifiers/pop_front.pass.cpp
ist.modifiers/push_back.pass.cpp
ist.modifiers/push_back_exception_safety.pass.cpp
ist.modifiers/push_back_rvalue.pass.cpp
ist.modifiers/push_front.pass.cpp
ist.modifiers/push_front_exception_safety.pass.cpp
ist.modifiers/push_front_rvalue.pass.cpp
ist.ops/merge.pass.cpp
ist.ops/merge_comp.pass.cpp
ist.ops/remove.pass.cpp
ist.ops/remove_if.pass.cpp
ist.ops/reverse.pass.cpp
ist.ops/sort.pass.cpp
ist.ops/sort_comp.pass.cpp
ist.ops/splice_pos_list.pass.cpp
ist.ops/splice_pos_list_iter.pass.cpp
ist.ops/splice_pos_list_iter_iter.pass.cpp
ist.ops/unique.pass.cpp
ist.ops/unique_pred.pass.cpp
ist.special/db_swap_1.pass.cpp
ist.special/swap.pass.cpp
ist.special/swap_noexcept.pass.cpp
ypes.pass.cpp
ersion.pass.cpp