rsmith added inline comments.

================
Comment at: lib/AST/DeclCXX.cpp:564
+    // C++1z [dcl.init.aggr]p1:
+    //  - no user-provided, explicit, or inherited constructors,
+    if (getASTContext().getLangOpts().CPlusPlus1z && Constructor->isExplicit())
----------------
rsmith wrote:
> Do we correctly handle the "or inherited" part? I'd also like to find out 
> whether core intended for this issue to be treated as a DR or not (if so, 
> this should apply all the way back to C++11).
According to the current issues list, this issue is in DRWP status, so this 
change should be applied retroactively to C++11 and C++14 as well.


https://reviews.llvm.org/D25654



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to