[libcxx-commits] [PATCH] D154017: Cleanup __uninitialized_temporary_buffer internals.

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 28 23:35:36 PDT 2023


MaskRay added inline comments.


================
Comment at: libcxx/include/new:300
+#ifndef _LIBCPP_HAS_NO_ALIGNED_ALLOCATION
+  if (__is_overaligned_for_new(__align)) {
+    const align_val_t __align_val = static_cast<align_val_t>(__align);
----------------
Mordante wrote:
> Mainly curious, but would it make sense to have this check in the Clang builtin?
> Mainly curious, but would it make sense to have this check in the Clang builtin?

Which check?


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

https://reviews.llvm.org/D154017



More information about the libcxx-commits mailing list