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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
libcxx_old/test/libcxx/debug/containers
Eric Fiselier 8864da5e78 Fix PR35564 - std::list splice/erase incorrectly throw in debug mode.
There was a bug in the implementation of splice where the container
sizes were updated before decrementing one of the iterators. Afterwards,
the result of decrementing the iterator was flagged as UB by the debug
implementation because the container was reported to be empty.

This patch fixes that bug by delaying the updating of the container
sizes until after the iterators have been correctly constructed.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@323390 91177308-0d34-0410-b5e6-96231b3b80d8
8 years ago
..
db_associative_container_tests.pass.cpp Add markup for libc++ dylib availability 9 years ago
db_sequence_container_iterators.pass.cpp Fix PR35564 - std::list splice/erase incorrectly throw in debug mode. 8 years ago
db_string.pass.cpp Add markup for libc++ dylib availability 9 years ago
db_unord_container_tests.pass.cpp Add markup for libc++ dylib availability 9 years ago