diff options
author | lerdsuwa <lerdsuwa@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-26 17:15:39 +0000 |
---|---|---|
committer | lerdsuwa <lerdsuwa@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-26 17:15:39 +0000 |
commit | fc64a85ec52360dc6a70965820efc1ba38eb61b9 (patch) | |
tree | 6917632b4872bacbee70ead116da681a6b68ac04 /gcc/cp/name-lookup.h | |
parent | cb8c2df72c9d0ec887dc862432efabfd6cf2bcf2 (diff) | |
download | ppe42-gcc-fc64a85ec52360dc6a70965820efc1ba38eb61b9.tar.gz ppe42-gcc-fc64a85ec52360dc6a70965820efc1ba38eb61b9.zip |
Friend class name lookup 4/n
* class.c (pushclass): Don't call cxx_remember_type_decls.
* cp-tree.h (clear_anon_tags): Remove declaration.
* decl.c (grokdeclarator): Don't call lookup_tag_reverse.
* name-lookup.c (binding_entry_free, binding_table_free): Comment
out functions.
(binding_table_find_anon_type, binding_table_reverse_maybe_remap,
binding_table_remove_anonymous_types, cxx_remember_type_decls,
bt_print_entry, clear_anon_tags, follow_tag_typedef, lookup_tag,
lookup_tag_reverse): Remove
(begin_scope, leave_scope, kept_level_p, print_binding_level):
Don't use type_decls field in cp_binding_level.
(maybe_process_template_type_declaration, pushtag): Set
CLASSTYPE_NESTED_UTDS directly.
* name-lookup.h (binding_table_remove_anonymous_types,
cxx_remember_type_decls, lookup_tag, lookup_tag_reverse): Remove
declaration.
(cp_binding_level): Remove type_decls field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91342 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/name-lookup.h')
-rw-r--r-- | gcc/cp/name-lookup.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/cp/name-lookup.h b/gcc/cp/name-lookup.h index 011c62a6f13..5c6452191db 100644 --- a/gcc/cp/name-lookup.h +++ b/gcc/cp/name-lookup.h @@ -46,10 +46,8 @@ struct binding_entry_s GTY(()) #define NAMESPACE_STD_HT_SIZE (1 << 8) #define GLOBAL_SCOPE_HT_SIZE (1 << 8) -extern void binding_table_remove_anonymous_types (binding_table); extern void binding_table_foreach (binding_table, bt_foreach_proc, void *); extern binding_entry binding_table_find (binding_table, tree); -extern void cxx_remember_type_decls (binding_table); /* Datatype that represents binding established by a declaration between a name and a C++ entity. */ @@ -194,9 +192,6 @@ struct cp_binding_level GTY(()) /* A chain of VTABLE_DECL nodes. */ tree vtables; - /* A dictionary for looking up user-defined-types. */ - binding_table type_decls; - /* A list of USING_DECL nodes. */ tree usings; @@ -317,8 +312,6 @@ extern void pop_nested_namespace (tree); extern void pushlevel_class (void); extern void poplevel_class (void); extern tree pushdecl_with_scope (tree, cxx_scope *); -extern tree lookup_tag (enum tree_code, tree, cxx_scope *, int); -extern tree lookup_tag_reverse (tree, tree); extern tree lookup_name (tree, int); extern tree lookup_name_real (tree, int, int, bool, int, int); extern tree lookup_type_scope (tree, tag_scope); |