[libc++] Rename *SAFE_STATIC to *CONSTINIT, and normalize its uses.In src/, most files can use `constinit` directly because they're alwayscompiled with C++20. But some files, like "libcxxabi/src/f
[libc++] Rename *SAFE_STATIC to *CONSTINIT, and normalize its uses.In src/, most files can use `constinit` directly because they're alwayscompiled with C++20. But some files, like "libcxxabi/src/fallback_malloc.cpp",can't, because they're `#include`d directly from test cases in libcxxabi/test/and therefore must (currently) compile as C++03. We might consider refactoringthose offending tests, or at least marking them `UNSUPPORTED: c++03`.Differential Revision: https://reviews.llvm.org/D119264
show more ...
[libc++] Remove U+00AD SOFT HYPHEN from comments in tests. NFC. git grep $(printf '\xc2\xad') ../libcxx
[libcxx][test] Add missing includes and suppress warnings... from testing with MSVC's STL. Mostly truncation warnings and variables that are only used in `LIBCPP_ASSERT`.Differential Revision: ht
[libcxx][test] Add missing includes and suppress warnings... from testing with MSVC's STL. Mostly truncation warnings and variables that are only used in `LIBCPP_ASSERT`.Differential Revision: https://reviews.llvm.org/D116878
[libcxx] [Coroutines] Support noop_coroutine for GCCWe didn't support noop_coroutine for GCC in previous conforming patch.So that GCC couldn't use noop_coroutine() defined in <coroutine>. Andafte
[libcxx] [Coroutines] Support noop_coroutine for GCCWe didn't support noop_coroutine for GCC in previous conforming patch.So that GCC couldn't use noop_coroutine() defined in <coroutine>. Andafter this patch, GCC should be able to compile the whole <coroutine>header.Reviewed By: QuuxplusoneDifferential Revision: https://reviews.llvm.org/D116144
[libcxx] [Coroutine] Conform Coroutine ImplementationSince coroutine is merged in C++ standard and the support for coroutineseems relatively stable. It's the time to move the implementation ofcor
[libcxx] [Coroutine] Conform Coroutine ImplementationSince coroutine is merged in C++ standard and the support for coroutineseems relatively stable. It's the time to move the implementation ofcoroutine out of the experimental directory and the std::experimentalnamespace. This patch creates header <coroutine> with conformedimplementation with C++ standard. To avoid breaking user's code toofast, the <experimental/coroutine> header is remained. Note that<experimental/coroutine> is deprecated and it would be removed inLLVM15.Reviewed By: Quuxplusone, ldionneDifferential Revision: https://reviews.llvm.org/D109433