History log of /external/libcxx/test/std/containers/sequences/vector.bool/swap.pass.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/sequences/vector.bool/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/sequences/vector.bool/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/sequences/vector.bool/swap.pass.cpp