[PATCH] D156032: Implement CWG2137 (list-initialization from objects of the same type)
Mital Ashok via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 24 14:25:52 PDT 2023
MitalAshok updated this revision to Diff 543699.
MitalAshok added a comment.
Add CWG2311 fix too
Too much code and tests rely on elision of `T{ T_prvalue }` in C++17, so add change to allow that to be elided when this does not pick a initializer-list constructor.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156032/new/
https://reviews.llvm.org/D156032
Files:
clang/lib/Sema/SemaInit.cpp
clang/lib/Sema/SemaOverload.cpp
clang/test/CXX/drs/dr14xx.cpp
clang/test/CXX/drs/dr21xx.cpp
clang/test/CXX/drs/dr23xx.cpp
clang/www/cxx_dr_status.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156032.543699.patch
Type: text/x-patch
Size: 11600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230724/a143a946/attachment-0001.bin>
More information about the cfe-commits
mailing list