[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++] Removes unneeded includes.This removes all "TODO: remove these headers" comments from our headers.Note there seem to be more headers that can be removed, that will bedone in separate co
[libc++] Removes unneeded includes.This removes all "TODO: remove these headers" comments from our headers.Note there seem to be more headers that can be removed, that will bedone in separate commits.Reviewed By: #libc, ldionneDifferential Revision: https://reviews.llvm.org/D127592
show more ...
[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
[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++] 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++] Add an option to disable wide character support in libc++Some embedded platforms do not wish to support the C library functionalityfor handling wchar_t because they have no use for it. It
[libc++] Add an option to disable wide character support in libc++Some embedded platforms do not wish to support the C library functionalityfor handling wchar_t because they have no use for it. It makes sense forlibc++ to work properly on those platforms, so this commit adds a carve-outof functionality for wchar_t.Unfortunately, unlike some other carve-outs (e.g. random device), thispatch touches several parts of the library. However, despite the wideimpact of this patch, I still think it is important to support thisconfiguration since it makes it much simpler to port libc++ to someembedded platforms.Differential Revision: https://reviews.llvm.org/D111265
[libc++][NFC] Qualify nullptr_t in test
[libc++][NFC] Remove #endif comments for really small conditionals on _LIBCPP_HAS_NO_UNICODE_CHARSWe generally don't put a comment on the #endif when the #if block is so smallthat it's unambiguous
[libc++][NFC] Remove #endif comments for really small conditionals on _LIBCPP_HAS_NO_UNICODE_CHARSWe generally don't put a comment on the #endif when the #if block is so smallthat it's unambiguous what the #endif refers to.
[libc++] s/_LIBCPP_NO_HAS_CHAR8_T/_LIBCPP_HAS_NO_CHAR8_T/gThis was raised in D94511.Differential Revision: https://reviews.llvm.org/D100736
[libc++] [C++20] [P0586] Implement safe integral comparisons* https://wg21.link/P0586Reviewed By: #libc, curdeius, QuuxplusoneDifferential Revision: https://reviews.llvm.org/D94511