Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Properly compute triviality for explicitly-defaulted or deleted special members. | Richard Smith | 2012-12-08 | 1 | -2/+2 |
| | | | | | | | | | | | | | | 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 | ||||
* | Don't provide errors for anonymous unions when they're actually anonymous ↵ | David Blaikie | 2011-10-19 | 1 | -0/+5 |
| | | | | | | classes. llvm-svn: 142551 | ||||
* | Emit diagnostic error when the field of an anonymous struct is non trivial. | Argyrios Kyrtzidis | 2010-08-16 | 1 | -0/+11 |
llvm-svn: 111158 |