llvm-project/clang/test/CXX/dcl.decl/dcl.fct.def
Richard Smith 92f241f188 Properly compute triviality for explicitly-defaulted or deleted special members.
Remove pre-standard restriction on explicitly-defaulted copy constructors with
'incorrect' parameter types, and instead just make those special members
non-trivial as the standard requires.

This required making CXXRecordDecl correctly handle classes which have both a
trivial and a non-trivial special member of the same kind.

This also fixes PR13217 by reimplementing DiagnoseNontrivial in terms of the
new triviality computation technology.

llvm-svn: 169667
2012-12-08 02:53:02 +00:00
..
dcl.fct.def.default Properly compute triviality for explicitly-defaulted or deleted special members. 2012-12-08 02:53:02 +00:00
dcl.fct.def.delete PR12937: Explicitly deleting an explicit template specialization. 2012-06-25 21:55:30 +00:00