* class.c (finish_struct_methods): Done clear DECL_IN_AGGR_P here.
commitbb20d9b68f2fd4aa4c00436ad524a6d79a18c22c
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Sep 2017 16:34:29 +0000 (1 16:34 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Sep 2017 16:34:29 +0000 (1 16:34 +0000)
treea2ac65fe4063afb49b3d7b389ddbe0ab6457029a
parentde7757ed8ba49db27836a45557806a2271371594
* class.c (finish_struct_methods): Done clear DECL_IN_AGGR_P here.
Don't call maybe_warn_about_overly_private_class here.
(warn_hidden): Cleanup declarations and comments.
(type_has_user_provided_constructor): No need to check
CLASSTYPE_METHOD_VEC.
(type_has_user_provided_or_explicit_constructor): Likewise.
(classtype_has_move_assign_or_move_ctor_p): Likewise.
(check_bases_and_members): Don't call finish_struct_methods here.
(finish_struct_1): Call finish_struct_methods and
set_class_bindings immediately after layout.  Clear DECL_IN_AGGR_P
here.
(finish_struct): For templates process USING_DECLS and clear
DECL_IN_AGGR_P before calling finish_struct_methods. Call
maybe_warn_about_overly_private_class here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251604 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c