[PATCH] D25654: [Sema] Don't perform aggregate initialization for types with explicit constructors

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 27 13:59:03 PDT 2016


EricWF updated this revision to Diff 76095.
EricWF added a comment.

- Disallow classes with inherited constructors
- Add tests under `test/CXX/drs/dr15xx.cpp`

I still only implemented this change in C++1z, please let me know if you want me to backport the DR.


https://reviews.llvm.org/D25654

Files:
  lib/AST/DeclCXX.cpp
  test/CXX/drs/dr15xx.cpp
  test/SemaCXX/aggregate-initialization.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25654.76095.patch
Type: text/x-patch
Size: 4071 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161027/f30089ab/attachment.bin>


More information about the cfe-commits mailing list