method.c (build_decl_overload_real): Fix namespace handling.
authorJason Merrill <jason@yorick.cygnus.com>
Wed, 15 Jul 1998 04:38:53 +0000 (04:38 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 15 Jul 1998 04:38:53 +0000 (00:38 -0400)
commit268775847c1bda1cc90cd7438d1a1b6be501d42a
treeb92a219486412be8543c51da01be00e225f6766a
parent8508a96d6b018899c83cdeebf2fd2ef46f39605d
method.c (build_decl_overload_real): Fix namespace handling.

* method.c (build_decl_overload_real): Fix namespace handling.
* typeck.c (build_unary_op): Extract a lone function from an
OVERLOAD.
* call.c (build_scoped_method_call): Handle getting a namespace
for basetype in a destructor call.
(check_dtor_name): Handle enums.
* parse.y (using_directive): New nonterminal.
(extdef, simple_stmt): Use it.

From-SVN: r21174
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/method.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/typeck.c