diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-14 20:34:41 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-14 20:34:41 +0000 |
commit | 9a49d46ba5ea32edcafb07d9465a9daf1800ffeb (patch) | |
tree | 7702e6868d44b1748368cc92f84ceb0e7c0f98e8 /gcc/cp/name-lookup.h | |
parent | 7be01a923e44273e92a20c164ca8ab84fcdf2a8e (diff) | |
download | gcc-9a49d46ba5ea32edcafb07d9465a9daf1800ffeb.tar.gz |
Breack out decl.c (3/n)
* name-lookup.c: Include flags.h
(lookup_name_current_level): Make static.
(add_decl_to_level): Likewise.
(push_local_binding): Likewise.
(push_overloaded_decl): Likewise.
(lookup_using_namespace): Likewise.
(qualified_lookup_using_namespace): Likewise.
(lookup_type_current_level): Likewise.
(unqualified_namespace_lookup): Likewise.
(namespace_ancestor): Likewise.
(push_using_directive): Likewise.
* decl.c (pushdecl): Move to name-lookup.c.
(pushdecl_top_level_1): Likewise.
(pushdecl_top_level): Likewise.
(pushdecl_top_level_and_finish): Likewise.
(maybe_push_decl): Likewise.
(push_using_decl): Likewise.
(push_overloaded_decl): Likewise.
(make_anon_name): Likewise.
(anon_cnt): Likewise.
(clear_anon_tags): Likewise.
(maybe_inject_for_scope_var): Likewise.
(check_for_out_of_scope_variable): Likewise.
* Make-lang.in (cp/name-lookup.o): Depend on flags.h.
* decl.c (warn_extern_redeclared_static): Export.
* cp-tree.h (warn_extern_redeclared_static): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72492 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/name-lookup.h')
-rw-r--r-- | gcc/cp/name-lookup.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/cp/name-lookup.h b/gcc/cp/name-lookup.h index 09ad59a7693..36643b26d29 100644 --- a/gcc/cp/name-lookup.h +++ b/gcc/cp/name-lookup.h @@ -275,8 +275,6 @@ extern void push_namespace (tree); extern void pop_namespace (void); extern void push_nested_namespace (tree); extern void pop_nested_namespace (tree); -extern tree namespace_ancestor (tree, tree); -extern tree push_using_directive (tree); extern void pushlevel_class (void); extern void poplevel_class (void); extern tree pushdecl_with_scope (tree, cxx_scope *); @@ -284,19 +282,12 @@ 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, int, int); -extern tree lookup_name_current_level (tree); -extern tree lookup_type_current_level (tree); -extern bool lookup_using_namespace (tree, cxx_binding *, tree, tree, int, tree *); -extern bool qualified_lookup_using_namespace (tree, tree, cxx_binding *, int); extern tree namespace_binding (tree, tree); -extern void add_decl_to_level (tree, cxx_scope *); extern void set_namespace_binding (tree, tree, tree); extern tree lookup_namespace_name (tree, tree); -extern tree unqualified_namespace_lookup (tree, int, tree *); extern tree lookup_qualified_name (tree, tree, bool, bool); extern tree lookup_name_nonclass (tree); extern tree lookup_function_nonclass (tree, tree); -extern void push_local_binding (tree, tree, int); extern int push_class_binding (tree, tree); extern bool pushdecl_class_level (tree); extern tree pushdecl_namespace_level (tree); |