friend.c (is_friend): Fix access control for local classes.
authorJason Merrill <jason@yorick.cygnus.com>
Wed, 1 Apr 1998 17:05:25 +0000 (17:05 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 1 Apr 1998 17:05:25 +0000 (12:05 -0500)
commit570221c20101ecc72f193e2b88e39069e05c963d
treec1e54f83c5989df56ecb7ded908c39c5421e4413
parent59581da6977aeae5819b43ebdd1eed1ee7f0d514
friend.c (is_friend): Fix access control for local classes.

* friend.c (is_friend): Fix access control for local classes.
* class.c (is_empty_class): New fn.
* call.c (build_call): Don't pass empty class objects to a function.

From-SVN: r18933
gcc/cp/ChangeLog
gcc/cp/NEWS
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/friend.c