forked from OSchip/llvm-project
0d1f3cb1b5
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 |
||
---|---|---|
.. | ||
dcl.fct.def/dcl.fct.def.default | ||
dcl.init | ||
dcl.meaning | ||
dcl.name | ||
p4-0x.cpp |