11f64dcc5864f3d237dd4fd35f56793022567257 |
|
11-Dec-2016 |
Eric Fiselier <eric@efcs.ca> |
Fix undefined behavior in container swap tests. 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
/external/libcxx/test/std/containers/associative/map/map.special/non_member_swap.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
/external/libcxx/test/std/containers/associative/map/map.special/non_member_swap.pass.cpp
|
467eaf826922b617cfafbca9a60ff4c4253800b7 |
|
07-Jun-2016 |
Marshall Clow <mclow.lists@gmail.com> |
Avoid Shadowing warnings in the associative containers tests. Thanks to STL for the patch. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272018 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/associative/map/map.special/non_member_swap.pass.cpp
|
7f9cc52faf7aa2bb1dc9e3affe6a40b6fecb0e6c |
|
10-Feb-2015 |
Eric Fiselier <eric@efcs.ca> |
Remove use of zero length arrays in tests. Get tests passing with -pedantic-errors git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@228706 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/associative/map/map.special/non_member_swap.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
/external/libcxx/test/std/containers/associative/map/map.special/non_member_swap.pass.cpp
|