cp-tree.h: Revert previous change.
* cp-tree.h: Revert previous change. (finish_struct_methods): Remove declaration. * class.c: Revert previous change. (maybe_warn_about_overly_private_class): New function. (finish_struct_methods): Declare here, and make static. Remove unnecessary parameters. Tidy slightly. Use maybe_warn_about_overly_private_class. (finish_struct_1): Adjust. Remove check for private constructors, now done elsewhere. (finish_struct): Adjust. From-SVN: r22426
Showing
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.other/warn3.C
0 → 100644
Please
register
or
sign in
to comment