[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 Nov 17 19:36:16 PST 2016


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

Add tests that explicit default constructors are still allowed outside of copy-initialization.


https://reviews.llvm.org/D25654

Files:
  lib/AST/DeclCXX.cpp
  test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p1.cpp
  test/CXX/dcl.decl/dcl.init/p7.cpp
  test/CXX/drs/dr15xx.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25654.78459.patch
Type: text/x-patch
Size: 6166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161118/5065c39c/attachment.bin>


More information about the cfe-commits mailing list