[libcxx-commits] [PATCH] D119264: [libc++] Rename *SAFE_STATIC to *CONSTINIT, and normalize its uses.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 10 06:23:01 PST 2022


Quuxplusone updated this revision to Diff 407513.
Quuxplusone added a comment.

CI failures: https://buildkite.com/llvm-project/libcxx-ci/builds/8602
Roll back some of the libcxxabi/src/ modernizations.

  In src/, most files can use `constinit` directly because they're always
  compiled 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 refactoring
  those offending tests, or at least marking them `UNSUPPORTED: c++03`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119264/new/

https://reviews.llvm.org/D119264

Files:
  libcxx/include/__config
  libcxx/src/debug.cpp
  libcxx/src/experimental/memory_resource.cpp
  libcxx/src/experimental/memory_resource_init_helper.h
  libcxx/src/memory.cpp
  libcxx/src/mutex.cpp
  libcxx/src/random_shuffle.cpp
  libcxx/src/support/runtime/exception_fallback.ipp
  libcxx/src/support/runtime/new_handler_fallback.ipp
  libcxx/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.pass.cpp
  libcxx/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.pass.cpp
  libcxx/test/std/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.pass.cpp
  libcxx/test/std/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.pass.cpp
  libcxx/test/std/utilities/any/any.class/any.cons/default.pass.cpp
  libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/default.pass.cpp
  libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/nullptr.pass.cpp
  libcxx/test/support/test_macros.h
  libcxxabi/src/cxa_default_handlers.cpp
  libcxxabi/src/cxa_guard_impl.h
  libcxxabi/src/fallback_malloc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119264.407513.patch
Type: text/x-patch
Size: 15425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220210/89580fda/attachment-0001.bin>


More information about the libcxx-commits mailing list