method.c (set_mangled_name_for_decl): Change return type to void.
authorJason Merrill <jason@yorick.cygnus.com>
Mon, 3 Aug 1998 22:11:25 +0000 (22:11 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 3 Aug 1998 22:11:25 +0000 (18:11 -0400)
commitc1def683c1c18e090cd3f7a96fd44c055b41b106
tree658df2fa05c67052b68384bdc451e68d4b207eb6
parent090f136ad2e8dda2a6ebb0523b26f420f5f9218a
method.c (set_mangled_name_for_decl): Change return type to void.

* method.c (set_mangled_name_for_decl): Change return type to void.
* decl.c (lookup_name_real): A namespace-level decl takes priority
over implicit typename.  Avoid doing the same lookup twice.
* search.c (dependent_base_p): New fn.
(dfs_pushdecls, dfs_compress_decls): Use it.
* typeck.c (get_member_function_from_ptrfunc): Don't try to handle
virtual functions if the type doesn't have any.

From-SVN: r21551
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/method.c
gcc/cp/search.c
gcc/cp/typeck.c