diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-09-01 16:34:29 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-09-01 16:34:29 +0000 |
commit | beb8b5c154e57f5c2e3e6f372c2bae9a10f619b4 (patch) | |
tree | a2ac65fe4063afb49b3d7b389ddbe0ab6457029a /gcc/c-family | |
parent | e035be33793fa4aef8cff3358c9670a648d5d273 (diff) | |
download | gcc-beb8b5c154e57f5c2e3e6f372c2bae9a10f619b4.zip gcc-beb8b5c154e57f5c2e3e6f372c2bae9a10f619b4.tar.gz gcc-beb8b5c154e57f5c2e3e6f372c2bae9a10f619b4.tar.bz2 |
class.c (finish_struct_methods): Done clear DECL_IN_AGGR_P here.
* 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.
From-SVN: r251604
Diffstat (limited to 'gcc/c-family')
0 files changed, 0 insertions, 0 deletions