OSDN Git Service

* decl.c (add_decl_to_level): New function.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Aug 1999 22:35:19 +0000 (22:35 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Aug 1999 22:35:19 +0000 (22:35 +0000)
commit900f01f23b350459c40b2d3cfe7bb05d0c392987
tree42f4395767e8a85f8e3d853c22f9a94eaaefea02
parent978a0e224b40fb766422db80278b9e9552d0251a
* decl.c (add_decl_to_level): New function.
(push_local_binding): Use it.
(find_binding): Fix typo in comment.
(pushdecl): Use add_decl_to_level.  Put templates on the
corresponding namespace-scope binding levels.
* dump.c (dequeue_and_dump): Print the specializations of a
template.
* pt.c (push_template_decl_real): Don't push a template multiple
times.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28738 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/dump.c
gcc/cp/pt.c