mirror of https://github.com/llvm-mirror/libcxx
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
These swap tests were swapping non-POCS non-equal allocators which is undefined behavior. This patch changes the tests to use allocators which compare equal. In order to test that the allocators were not swapped I added an "id" field to test_allocator which does not participate in equality but does propagate across copies/swaps. This patch is based off of D26623 which was submitted by STL. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@289358 91177308-0d34-0410-b5e6-96231b3b80d8 |
9 years ago | |
|---|---|---|
| .. | ||
| multiset.cons | 9 years ago | |
| multiset.special | 9 years ago | |
| allocator_mismatch.fail.cpp | 10 years ago | |
| clear.pass.cpp | 10 years ago | |
| count.pass.cpp | 9 years ago | |
| emplace.pass.cpp | 10 years ago | |
| emplace_hint.pass.cpp | 10 years ago | |
| empty.pass.cpp | 10 years ago | |
| equal_range.pass.cpp | 9 years ago | |
| erase_iter.pass.cpp | 10 years ago | |
| erase_iter_iter.pass.cpp | 10 years ago | |
| erase_key.pass.cpp | 10 years ago | |
| find.pass.cpp | 9 years ago | |
| incomplete_type.pass.cpp | 10 years ago | |
| insert_allocator_requirements.pass.cpp | 10 years ago | |
| insert_cv.pass.cpp | 10 years ago | |
| insert_initializer_list.pass.cpp | 9 years ago | |
| insert_iter_cv.pass.cpp | 10 years ago | |
| insert_iter_iter.pass.cpp | 10 years ago | |
| insert_iter_rv.pass.cpp | 10 years ago | |
| insert_rv.pass.cpp | 10 years ago | |
| iterator.pass.cpp | 9 years ago | |
| lower_bound.pass.cpp | 9 years ago | |
| max_size.pass.cpp | 9 years ago | |
| scary.pass.cpp | 10 years ago | |
| size.pass.cpp | 10 years ago | |
| types.pass.cpp | 10 years ago | |
| upper_bound.pass.cpp | 9 years ago | |