[libcxx-commits] [PATCH] D114649: [libc++] Implement not-yet-voted LWG3436

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 26 09:53:35 PST 2021


ldionne created this revision.
ldionne added a reviewer: rsmith.
ldionne requested review of this revision.
Herald added projects: clang, libc++.
Herald added subscribers: libcxx-commits, cfe-commits.
Herald added a reviewer: libc++.

LWG3436 adds support for array types in construct_at. That is necessary
for implementing other voted features, such as arrays in make_shared, so
I am extraordinarily implementing the LWG resolution despite it not
being voted into the Standard yet.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114649

Files:
  clang/lib/AST/ExprConstant.cpp
  clang/test/SemaCXX/cxx2a-constexpr-dynalloc.cpp
  libcxx/include/__memory/construct_at.h
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.LWG3436.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114649.390091.patch
Type: text/x-patch
Size: 6138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211126/59d27056/attachment.bin>


More information about the libcxx-commits mailing list