[libc++] Remove unused __functional includesReviewed By: ldionne, #libcSpies: arichardson, smeenai, libcxx-commits, arphamanDifferential Revision: https://reviews.llvm.org/D126098
[libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI.All supported compilers that support C++20 now support concepts. So, remove`_LIB_LIBCPP_HAS_NO_CONCEPTS` in favor of `_LIBC
[libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI.All supported compilers that support C++20 now support concepts. So, remove`_LIB_LIBCPP_HAS_NO_CONCEPTS` in favor of `_LIBCPP_STD_VER > 17`. Similarly inthe tests, remove `// UNSUPPORTED: libcpp-no-concepts`.Differential Revision: https://reviews.llvm.org/D121528
show more ...
[libc++] [test] Remove IFNDR uses of std::invocable.libstdc++'s implementation diagnoses these with hard errors.Fixes #50059.Differential Revision: https://reviews.llvm.org/D116293
[libc++] Remove random [[nodiscard]] in the test suite
[libc++] Fix concepts tests with GCC
[libc++] Post-commit review on D99928.The "user-defined conversion by implicit constructor" codepath is alreadyhandled by `B(int)`; we don't need to test `A(const A&)` a second timevia `DA` (nor
[libc++] Post-commit review on D99928.The "user-defined conversion by implicit constructor" codepath is alreadyhandled by `B(int)`; we don't need to test `A(const A&)` a second timevia `DA` (nor the isomorphic case with `DB`).We don't need `&` anywhere in this test.Generally, `operator()` should be const; this test needn't be special.(No functional change in test coverage.)
[libcxx] [test] Use dedicated types for the invocable concept tests for multiple overloadsThis should be clearer, instead of relying on rules for implicitconversions regarding built in float/integ
[libcxx] [test] Use dedicated types for the invocable concept tests for multiple overloadsThis should be clearer, instead of relying on rules for implicitconversions regarding built in float/integer types.Differential Revision: https://reviews.llvm.org/D99928
[libcxx] [test] Fix invocable tests on WindowsMSVC had a bug regarding preferring intergral conversions overfloating conversions. This is fixed in MSVC 19.28 and newer. Clang inMSVC mode so far o
[libcxx] [test] Fix invocable tests on WindowsMSVC had a bug regarding preferring intergral conversions overfloating conversions. This is fixed in MSVC 19.28 and newer. Clang inMSVC mode so far only mimics the old, buggy behaviour, but willhopefully soon be fixed to comply with the new behaviour too(see https://reviews.llvm.org/D99663).Make the negative test to use a distinctly different type,leaving checks for compiler specific bugs out of the libcxx test.Differential Revision: https://reviews.llvm.org/D99641
[libcxx] reworks invocable and regular_invocable testsThe tests for `std::invocable` and `std::regular_invocable` werewoefully incomplete. This patch closes many of the gaps (though someprobably
[libcxx] reworks invocable and regular_invocable testsThe tests for `std::invocable` and `std::regular_invocable` werewoefully incomplete. This patch closes many of the gaps (though someprobably remain).Differential Revision: https://reviews.llvm.org/D99398
[libcxx] rearranges all concept testsmoves tests into directories matching their stable names so that thetests can reflect the concept nameDifferential Revision: https://reviews.llvm.org/D99104