summaryrefslogtreecommitdiff
path: root/gcc/cp/name-lookup.h
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-07 02:29:34 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-07 02:29:34 +0000
commit1ae02380e04a0d87942ca2f6328614edf7aa655d (patch)
tree9e44532889ee3de07440e82a17c4a52c51902938 /gcc/cp/name-lookup.h
parentff178c070e876b5708b769fb97a861579f2fc74c (diff)
downloadgcc-1ae02380e04a0d87942ca2f6328614edf7aa655d.tar.gz
* decl.c (wrapup_globals_for_namespace): Use VEC instead of
VARRAY. * name-lookup.c (add_decl_to_level, begin_scope): Likewise. * name-lookup.h (cp_binding_level): Change the type of static_decls to VEC(tree,gc)*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99346 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/name-lookup.h')
-rw-r--r--gcc/cp/name-lookup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/name-lookup.h b/gcc/cp/name-lookup.h
index 5aeb80b7338..19bcec0eba6 100644
--- a/gcc/cp/name-lookup.h
+++ b/gcc/cp/name-lookup.h
@@ -188,7 +188,7 @@ struct cp_binding_level GTY(())
tree namespaces;
/* An array of static functions and variables (for namespaces only) */
- varray_type static_decls;
+ VEC(tree,gc) *static_decls;
/* A chain of VTABLE_DECL nodes. */
tree vtables;