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
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
..
algorithms [libcxx] [test] Make files consistently end with newlines, NFC. 8 years ago
atomics update XFAIL comments with more details 9 years ago
containers [libcxx] [test] Make files consistently end with newlines, NFC. 8 years ago
debug Merging r323390: 8 years ago
depr Placate unused variable warnings uncovered by improvements to clang's -Wunused-variable 8 years ago
diagnostics Fix nodiscard test when modules are enabled 8 years ago
experimental Fix failing -verify tests due to change in Clangs static_assert message. 8 years ago
extensions Fix or move various non-standard tests. 10 years ago
fuzzing Add more fuzzing bits: partial_sort_copy, partition_copy, unique, unique_copy. No functional change to libc++; this is all test infastructure 8 years ago
input.output Move tests for libc++ configurations into libcxx/ test subdirectory 9 years ago
iterators [libcxx] [test] Untabify, NFC. 8 years ago
language.support [libcxx] Mark test cxa_deleted_virtual.pass.cpp as failing for previous libcxx versions. 8 years ago
localization update XFAIL comments with more details 9 years ago
modules XFAIL Windows test failures under test/libcxx 9 years ago
numerics Placate unused variable warnings uncovered by improvements to clang's -Wunused-variable 8 years ago
selftest Change a bunch of comments from C++1z to C++17. NFC 8 years ago
strings [libcxx] [test] Untabify, NFC. 8 years ago
thread [libcxx] [test] Fix URLs in comments and make them HTTPS. NFC. 8 years ago
type_traits [libcxx] [test] Make files consistently end with newlines, NFC. 8 years ago
utilities [libc++] Shrink variant's index type when possible 8 years ago
double_include.sh.cpp Add <experimental/coroutine> 9 years ago
include_as_c.sh.cpp Allow the libc++ C header wrappers to be included when compiling C. 9 years ago
libcpp_version.pass.cpp Add test that _LIBCPP_VERSION matches __libcpp_version 9 years ago
min_max_macros.sh.cpp [Libc++] Use #pragma push_macro/pop_macro to better handle min/max on Windows 9 years ago