llvm-project/libcxx
Arthur O'Dwyer 418de7d5d8 Fix UB in one libcxx test, when deleting D through a pointer to B.
This undefined behavior was found by applying Lénárd Szolnoki's proposal
to disable implicit conversion of default_delete<D> to default_delete<B>.

The offending part of the test is circa line 243.

The wording that makes it undefined behavior is http://eel.is/c++draft/expr.delete#3 .

Differential Revision: https://reviews.llvm.org/D90536
2020-11-04 17:34:05 -05:00
..
benchmarks [runtimes] Revert the libc++ __config_site change 2020-10-23 09:41:48 -04:00
cmake [libc++] Add a libc++ configuration that does not support localization 2020-10-27 14:56:30 -04:00
docs [libc++] Migrate warning flags to the DSL 2020-11-02 12:25:05 -05:00
include [libc++] NFC: Remove trailing whitespace 2020-11-04 14:08:06 -05:00
lib [libc++] NFC: Re-generate the ABI lists with the new script 2020-11-02 11:36:35 -05:00
src [libc++] NFCI: Refactor chrono.cpp to make it easier to support new platforms 2020-11-04 10:23:36 -05:00
test Fix UB in one libcxx test, when deleting D through a pointer to B. 2020-11-04 17:34:05 -05:00
utils [libc++] Remove stray setting of use_system_cxx_lib left behind 2020-11-04 15:01:59 -05:00
www [libc++][NFC] Mark LWG issue 2899 as not complete. 2020-11-03 13:35:12 -08:00
.clang-format
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt [libc++] Remove the ability to not install the support headers 2020-11-04 11:45:34 -05:00
CREDITS.TXT [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
NOTES.TXT
TODO.TXT [libc++][NFC] Remove outdated TODO item 2020-07-08 13:04:33 -04:00
appveyor-reqs-install.cmd Attempt to upgrade compiler used by appveyor builds 2019-04-03 20:40:01 +00:00
appveyor.yml disable appveyor config for MSVC 2015 2019-04-03 20:36:51 +00:00