summaryrefslogtreecommitdiff
path: root/libcxx/test/std/containers/sequences/array/array.creation/to_array.pass.cpp
AgeCommit message (Collapse)Author
2025-02-11[libc++][NFC] Run the container tests through clang-format (#126499)Louis Dionne
We've been improving these the tests for vector quite a bit and we are probably not done improving our container tests. Formatting everything at once will make subsequent reviews easier.
2022-07-16Visual C++ doesn't support C99 compound literalIgor Zhukov
Fix test libcxx/test/std/containers/sequences/array/array.creation/to_array.pass.cpp Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D129923
2020-06-03[libc++] Remove the c++98 Lit feature from the test suiteLouis Dionne
C++98 and C++03 are effectively aliases as far as Clang is concerned. As such, allowing both std=c++98 and std=c++03 as Lit parameters is just slightly confusing, but provides no value. It's similar to allowing both std=c++17 and std=c++1z, which we don't do. This was discovered because we had an internal bot that ran the test suite under both c++98 AND c++03 -- one of which is redundant. Differential Revision: https://reviews.llvm.org/D80926
2020-05-28[libc++] Complete overhaul of constexpr support in std::arrayLouis Dionne
This commit adds missing support for constexpr in std::array under all standard modes up to and including C++20. It also transforms the <array> tests to check for constexpr-friendliness under the right standard modes. Fixes https://llvm.org/PR40124 Fixes rdar://57522096 Supersedes https://reviews.llvm.org/D60666 Differential Revision: https://reviews.llvm.org/D80452
2020-01-31Reland [libc++] [P0325] Implement to_array from LFTS with updates.Marek Kurdej
Fixed expected errors and notes. Summary: This patch implements https://wg21.link/P0325. Reviewers: EricWF, mclow.lists, ldionne, lichray Reviewed By: ldionne, lichray Subscribers: lichray, dexonsmith, zoecarver, christof, ldionne, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D69882
2020-01-31Revert "[libc++] [P0325] Implement to_array from LFTS with updates."Marek Kurdej
This reverts commit 86aae78268f31e58b619c9ae69e8b661dfacb9f4. A test is failing on "Release" build without assertions enabled (Fedora 31 on x86_64).
2020-01-30[libc++] [P0325] Implement to_array from LFTS with updates.Marek Kurdej
Summary: This patch implements https://wg21.link/P0325. Please mind that at it is my first contribution to libc++, so I may have forgotten to abide to some conventions. Reviewers: EricWF, mclow.lists, ldionne, lichray Reviewed By: ldionne, lichray Subscribers: lichray, dexonsmith, zoecarver, christof, ldionne, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D69882