[PATCH] D114903: [clang] Support array placement new in constant expressions

2023-09-01 Thread Louis Dionne via Phabricator via cfe-commits
ldionne abandoned this revision. ldionne added a comment. Herald added a project: All. I've run out of time to work on this. It's also not clear that it's supported by the Standard right now since there's a not-voted-yet LWG issue about it (http://wg21.link/LWG3436). Abandoning. This isn't bloc

[PATCH] D114903: [clang] Support array placement new in constant expressions

2022-02-28 Thread Erich Keane via Phabricator via cfe-commits
erichkeane added a comment. In D114903#3285144 , @Quuxplusone wrote: > I have no special knowledge of this. Seems like "it can't be that easy," but > I don't know. I agree with this. I have a little knowledge of the constant evaluator, but not enough

[PATCH] D114903: [clang] Support array placement new in constant expressions

2022-01-31 Thread Arthur O'Dwyer via Phabricator via cfe-commits
Quuxplusone added a comment. I have no special knowledge of this. Seems like "it can't be that easy," but I don't know. Comment at: clang/test/SemaCXX/cxx2a-constexpr-dynalloc.cpp:138 } static_assert(call_std_construct_at()); I would think you ought to hav

[PATCH] D114903: [clang] Support array placement new in constant expressions

2022-01-31 Thread Louis Dionne via Phabricator via cfe-commits
ldionne added subscribers: Quuxplusone, mumbleskates, egorzhdan. ldionne added a comment. Gentle ping -- I suspect this may be too naive, but it's a start. It would be awesome to ship this in LLVM 14, since it would allow us to unblock libc++ work on a couple features. Repository: rG LLVM Gi

[PATCH] D114903: [clang] Support array placement new in constant expressions

2021-12-01 Thread Louis Dionne via Phabricator via cfe-commits
ldionne created this revision. ldionne added a reviewer: rsmith. ldionne requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. This is necessary for std::construct_at to work on arrays inside a constant expression. Repository: rG LLVM Github