cp-tree.h (finish_base_specifier): New function.
authorMark Mitchell <mark@markmitchell.com>
Fri, 28 Aug 1998 12:06:56 +0000 (12:06 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 28 Aug 1998 12:06:56 +0000 (12:06 +0000)
commitea6021e832a937087583f9c1b1ca1f3220ef5bd3
tree55daae681e7c466aee112a03fce6c8db72ee25e4
parent9231189b62413d0e5427371eb97cd7961ec8be34
cp-tree.h (finish_base_specifier): New function.

* cp-tree.h (finish_base_specifier): New function.
* parse.y (base_class): Use it.
* semantics.c (finish_base_specifier): Define it.
* parse.y (structsp): Warn on use of typename outside of template
declarations.

From-SVN: r22055
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.pt/typename10.C [new file with mode: 0644]