llvm-project/clang/test/CXX/basic
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
..
basic.def.odr Check for redefinitions in MergeVarDecl. This finds redefinitions of globals without an initializer in C++ and thus fixes PR5451. 2010-02-02 18:35:11 +00:00
basic.link Improve 0-argument -Wvexing-parse diagnostic by adding notes with fix-its: 2012-01-12 23:53:29 +00:00
basic.lookup Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
basic.scope Fix more try scoping bugs introduced by r167650. 2012-11-12 22:25:41 +00:00
basic.start/basic.start.main Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
basic.stc/basic.stc.dynamic Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
basic.types Properly compute triviality for explicitly-defaulted or deleted special members. 2012-12-08 02:53:02 +00:00