Eric Fiselier
|
6cb35ede81
|
[libc++] Fix PR35491 - std::array of zero-size doesn't work with non-default constructible types.
Summary:
This patch fixes llvm.org/PR35491 and LWG2157 (https://cplusplus.github.io/LWG/issue2157)
The fix attempts to maintain ABI compatibility by replacing the array with a instance of `aligned_storage`.
Reviewers: mclow.lists, EricWF
Reviewed By: EricWF
Subscribers: lichray, cfe-commits
Differential Revision: https://reviews.llvm.org/D41223
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@324526 91177308-0d34-0410-b5e6-96231b3b80d8
|
2018-02-07 21:06:13 +00:00 |
|
Stephan T. Lavavej
|
a686caad20
|
[libcxx] [test] Untabify, NFC.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@309464 91177308-0d34-0410-b5e6-96231b3b80d8
|
2017-07-29 00:55:10 +00:00 |
|
Stephan T. Lavavej
|
16e2ba19df
|
[libcxx] [test] Fix comment typos, strip trailing whitespace.
No functional change, no code review.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292434 91177308-0d34-0410-b5e6-96231b3b80d8
|
2017-01-18 20:10:25 +00:00 |
|
Marshall Clow
|
d25c997c77
|
Implement the missing constexpr stuff in <array>. Fixes PR#31645.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292091 91177308-0d34-0410-b5e6-96231b3b80d8
|
2017-01-16 03:02:10 +00:00 |
|
Eric Fiselier
|
84acb1ec3f
|
Remove trailing whitespace in test suite. Approved by Marshall Clow.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@271435 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-06-01 21:35:39 +00:00 |
|
Eric Fiselier
|
237206bfda
|
Suppress array initialization warnings in std::experimental::apply tests
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@248987 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-10-01 07:05:38 +00:00 |
|
Eric Fiselier
|
02bb4bdb49
|
Fix warnings in array and assoc containers
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242629 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-07-18 23:56:04 +00:00 |
|
Eric Fiselier
|
a90c6dd460
|
Move test into test/std subdirectory.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@224658 91177308-0d34-0410-b5e6-96231b3b80d8
|
2014-12-20 01:40:03 +00:00 |
|