llvm-project/libcxx
Louis Dionne 71e4d434dc [libc++] Make sure std::allocator<void> is always trivial
When we removed the allocator<void> specialization, the triviality of
std::allocator<void> changed because the primary template had a
non-trivial default constructor and the specialization didn't
(so std::allocator<void> went from trivial to non-trivial).

This commit fixes that oversight by giving a trivial constructor to
the primary template when instantiated on cv-void.

This was reported in https://llvm.org/PR50299.

Differential Revision: https://reviews.llvm.org/D104398
2021-06-17 16:11:50 -04:00
..
benchmarks [libcxx][nfc] prefixes test type `input_iterator` with `cpp17_` 2021-05-02 05:02:59 +00:00
cmake [libc++abi] Remove the LIBCXXABI_ENABLE_PIC option 2021-06-10 12:26:31 -04:00
docs [libc++] Undeprecate the std::allocator<void> specialization 2021-06-16 09:54:29 -04:00
include [libc++] Make sure std::allocator<void> is always trivial 2021-06-17 16:11:50 -04:00
lib [libc++] Disentangle std::pointer_safety 2021-05-03 14:33:49 -04:00
src [libcxx] Fix a case of -Wundef warnings regarding _POSIX_TIMERS 2021-06-17 13:02:34 +03:00
test [libc++] Make sure std::allocator<void> is always trivial 2021-06-17 16:11:50 -04:00
utils [libc++] Promote GCC 11 to mandatory CI 2021-06-15 20:54:58 -04:00
.clang-format [libcxx][NFC] removes IndentRequires from .clang-format 2021-04-15 19:28:45 +00:00
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt [libc++] Support per-target __config_site in per-target runtime build 2021-04-28 14:27:16 -07:00
CREDITS.TXT [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
LICENSE.TXT
TODO.TXT [libc++][NFC] Remove outdated TODO item 2020-07-08 13:04:33 -04:00
appveyor-reqs-install.cmd
appveyor.yml