diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2021-06-16 12:35:00 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2021-06-17 16:11:50 -0400 |
commit | 71e4d434dc83b02a853712a5cb026ee2fa9ba67f (patch) | |
tree | b551da930c542862f9787b3f0bfc2732cf5683a0 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | a2ab765029dd76756e98851847e6675795a973b6 (diff) | |
download | llvm-71e4d434dc83b02a853712a5cb026ee2fa9ba67f.zip llvm-71e4d434dc83b02a853712a5cb026ee2fa9ba67f.tar.gz llvm-71e4d434dc83b02a853712a5cb026ee2fa9ba67f.tar.bz2 |
[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
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions