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
Tom Stellard cb9e96f6f1 Merging r323390:
------------------------------------------------------------------------
r323390 | ericwf | 2018-01-24 16:02:48 -0800 (Wed, 24 Jan 2018) | 9 lines

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/branches/release_60@334621 91177308-0d34-0410-b5e6-96231b3b80d8
8 years ago
..
libcxx Merging r323390: 8 years ago
std Merging r333467: 8 years ago
support [libcxx] [test] Fix MSVC warnings, null pointer deref. 8 years ago
CMakeLists.txt Include AddLLVM needed for tests in the right context 8 years ago
lit.cfg Move libcxx/test/libcxx python package into libcxx/utils/libcxx. 9 years ago
lit.site.cfg.in [libc++][CMake] Use debug MSVC runtimes when libc++ is built in debug mode 9 years ago
nothing_to_do.pass.cpp