llvm-project/clang/test/CXX/special
Richard Smith bc713f6a00 PR48763: Better handling for classes that inherit a default constructor.
The C++ standard wording doesn't appear to properly handle the case
where a class inherits a default constructor from a base class. Various
properties of classes are defined in terms of the corresponding property
of the default constructor, and in this case, the class does not have a
default constructor despite being default-constructible, which the
wording doesn't handle properly.

This change implements a tentative fix for these problems, which has
also been proposed to the C++ committee: if a class would inherit a
default constructor, and does not explicitly declare one, then one is
implicitly declared.
2021-01-18 18:54:04 -08:00
..
class.conv/class.conv.ctor
class.copy [test] Add {{.*}} to make tests immune to dso_local/dso_preemptable/(none) differences 2020-12-30 20:52:01 -08:00
class.ctor PR48763: Better handling for classes that inherit a default constructor. 2021-01-18 18:54:04 -08:00
class.dtor Add a test triple to avoid failure under MS ABI. 2020-03-12 16:44:09 -07:00
class.free
class.inhctor PR48763: Better handling for classes that inherit a default constructor. 2021-01-18 18:54:04 -08:00
class.init C++ DR2026: static storage duration variables are not zeroed before 2020-02-06 16:37:22 -08:00
class.temporary