llvm-project/clang/test/CXX/special
Richard Smith 12f247f43f PR13051: If a constructor is explicitly defaulted, it isn't marked as being
constexpr until we get to the end of the class definition. When that happens,
be sure to remember that the class actually does have a constexpr constructor.

This is a stopgap solution, which still doesn't cover the case of a class with
multiple copy constructors (only some of which are constexpr). We should be
performing constructor lookup when implicitly defining a constructor in order
to determine whether all constructors it invokes are constexpr.

llvm-svn: 158228
2012-06-08 21:09:22 +00:00
..
class.conv/class.conv.ctor A non-explicit constructor template with a second parameter that is a 2012-06-05 23:44:51 +00:00
class.copy PR13051: If a constructor is explicitly defaulted, it isn't marked as being 2012-06-08 21:09:22 +00:00
class.ctor A union can have a constexpr defaulted default constructor, if it has an 2012-05-07 01:07:30 +00:00
class.dtor [class.copy]p23: Fix an assertion caused by incorrect argument numbering in a 2012-04-29 06:32:34 +00:00
class.free Improve diagnostics for invalid use of non-static members / this: 2012-04-05 01:13:04 +00:00
class.inhctor PR12224 (sort of): Diagnose inheriting constructor declarations in C++11 mode. 2012-04-27 19:33:05 +00:00
class.init/class.base.init Include named unions in union member init checking 2011-11-17 06:01:57 +00:00
class.temporary When we notice that a member function is defined with "= delete" or "= 2011-11-07 20:56:01 +00:00