[libc++] Remove macros for IBM compilerIt's not tested or used anymore -- instead a Clang-based compiler isused on IBM nowadays.Differential Revision: https://reviews.llvm.org/D127650
[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_CHAR8_T.This avoids using an libc++ internal macro in our tests. This versiondoesn't depend on the internal macro but redefines it.Reviewed By: #libc, ldionneDiff
[libc++][nfc] Add TEST_HAS_NO_CHAR8_T.This avoids using an libc++ internal macro in our tests. This versiondoesn't depend on the internal macro but redefines it.Reviewed By: #libc, ldionneDifferential Revision: https://reviews.llvm.org/D119460
[libc++][nfc] Add TEST_HAS_NO_UNICODE_CHARS.This avoids using an libc++ internal macro in our tests.Reviewed By: #libc, philnik, ldionneDifferential Revision: https://reviews.llvm.org/D118832
[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++][nfc] Include test_macros.h in more tests.This should fix the regressions detected in D117992.This lands before D117992 to avoid breaking main.Reviewed By: #libc, ldionneDifferential
[libc++][nfc] Include test_macros.h in more tests.This should fix the regressions detected in D117992.This lands before D117992 to avoid breaking main.Reviewed By: #libc, ldionneDifferential Revision: https://reviews.llvm.org/D118056
[libc++][compare] Implement three_way_comparable[_with] conceptsImplementation of `three_way_comparable` and `three_way_comparable_with` concepts from <compare> header.Please note that I have tem
[libc++][compare] Implement three_way_comparable[_with] conceptsImplementation of `three_way_comparable` and `three_way_comparable_with` concepts from <compare> header.Please note that I have temporarily removed `<compare>` header from `<utility>` due to cyclic dependency that prevents using `<concepts>` header in `<compare>` one.I tried to quickly resolve those issues including applying suggestions from @cjdb and dive deeper by myself but the problem seems more complicated that we thought initially.I am in progress to prepare the patch with resolving this cyclic dependency between headers but for now I decided to put all that I have to the review to unblock people that depend on that functionality. At first glance the patch with resolving cyclic dependency is not so small (unless I find the way to make it smaller and cleaner) so I don't want to mix everything to one review.Reviewed By: ldionne, cjdb, #libc, QuuxplusoneDifferential Revision: https://reviews.llvm.org/D103478