llvm-project/clang/test/CXX/dcl.dcl/basic.namespace
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
..
namespace.def Suppress printing of inline namespace names in diagnostics by default, 2020-11-11 15:05:51 -08:00
namespace.udecl PR48763: Better handling for classes that inherit a default constructor. 2021-01-18 18:54:04 -08:00
namespace.udir