This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog cp/cp-tree.h cp/decl.c cp/de ...
- From: dpatel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 19 Sep 2002 16:19:37 -0000
- Subject: gcc/gcc ChangeLog cp/cp-tree.h cp/decl.c cp/de ...
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dpatel@gcc.gnu.org 2002-09-19 09:19:37
Modified files:
gcc : ChangeLog
gcc/cp : cp-tree.h decl.c decl2.c
Log message:
2002-09-19 Devang Patel <dpatel@apple.com>
* cp/cp-tree.h: New prototype for walk_vtabls().
* cp/decl.c (walk_vtables_r): New function.
(struct cp_binding_level): Add new members, namespaces,
names_size and vtables.
(add_decl_to_level): Add decl in namespaces or vtables
chain, if conditions match.
(walk_vtables): New function.
(walk_namespaces_r): Travers separate namespace chain
for namespace decls.
(wrapup_globals_for_namespace): Use names_size instead
of list_length().
* cp/decl2.c (finish_file): Use walk_vtables() instead of
walk_globals() to walk vtable decls.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.15479&r2=1.15480
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.749&r2=1.750
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.934&r2=1.935
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&r1=1.561&r2=1.562