[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++][nfc] Add TEST_HAS_NO_INT128.Avoid using the libc++ internal `_LIBCPP_HAS_NO_INT128` in our tests.Reviewed By: #libc, ldionneDifferential Revision: https://reviews.llvm.org/D117992
[libc++] Fix incorrect main() signatures in the testsThose creep up from time to time. We need to use `int main(int, char**)`because in freestanding mode, `main` doesn't get special treatment and
[libc++] Fix incorrect main() signatures in the testsThose creep up from time to time. We need to use `int main(int, char**)`because in freestanding mode, `main` doesn't get special treatment andspecial mangling, so we setup a symbol alias from the mangled version of`main(int, char**)` to `extern "C" main`. That only works if all the testsare consistent about how they define their main function.
[libc++] [C++20] [P0586] Implement safe integral comparisons* https://wg21.link/P0586Reviewed By: #libc, curdeius, QuuxplusoneDifferential Revision: https://reviews.llvm.org/D94511