llvm-project/clang/test/CXX/dcl.decl
Richard Smith 0d1f3cb1b5 Special members which are defaulted or deleted on their first declaration are
trivial if the implicit declaration would be. Don't forget to set the Trivial
flag on the special member as well as on the class. It doesn't seem ideal that
we have two separate mechanisms for storing this information, but this patch
does not attempt to address that.

This leaves us in an interesting position where the has_trivial_X trait for a
class says 'yes' for a deleted but trivial X, but is_trivially_Xable says 'no'.
This seems to be what the standard requires.

llvm-svn: 151465
2012-02-26 00:31:33 +00:00
..
dcl.fct.def/dcl.fct.def.default Special members which are defaulted or deleted on their first declaration are 2012-02-26 00:31:33 +00:00
dcl.init When overload resolution picks an implicitly-deleted special member 2012-02-15 19:33:52 +00:00
dcl.meaning PR11684, core issue 1417: 2012-02-10 11:05:11 +00:00
dcl.name In some contexts, type declarations cannot occur. Pass this information down to ParseClassSpecifier, to make its decision easier. Fixes PR6200. 2010-02-03 21:21:43 +00:00
p4-0x.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00