friend.c (do_friend): Pull the identifier out of declarator.
authorJason Merrill <jason@yorick.cygnus.com>
Sun, 12 Jul 1998 01:30:11 +0000 (01:30 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 12 Jul 1998 01:30:11 +0000 (21:30 -0400)
commit2b9dc906d0445906387fa231ee5081bb4f3a7abc
treef19dba58a0e689a830924e88bdb5d136e6ba39d5
parent555f90c5ef78860b3ebcc4ff8e8201fa4bf4fb6f
friend.c (do_friend): Pull the identifier out of declarator.

* friend.c (do_friend): Pull the identifier out of declarator.
Use cp_error and friends.
* decl2.c (qualified_lookup_using_namespace): Fix call to
purpose_member.
* decl.c (lookup_name_real): Don't call complete_type on a namespace.
(grokvardecl): Use DECL_CLASS_SCOPE_P.
(xref_basetypes): Fix call to GNU_xref_hier.
* cvt.c (convert_pointer_to_real): Check for error_mark_node sooner.
* class.c (warn_hidden): Fix for OVERLOAD.
From grahams@rcp.co.uk:
* cp-tree.h (DEFARG_NODE_CHECK): New macro.
  (DEFARG_LENGTH, DEFARG_POINTER): Use it.

From-SVN: r21068
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/friend.c