Commit b8c1703b by Volker Reichelt Committed by Volker Reichelt

name-lookup.c (print_binding_level): Make static.

	* name-lookup.c (print_binding_level): Make static.
	(constructor_name_full): Make static inline.
	(current_decl_namespace): Make static.
	* name-lookup.h (constructor_name_full): Remove prototype.
	(print_binding_level): Likewise.
	(storetags): Likewise.
	(current_decl_namespace): Likewise.

From-SVN: r94209
parent 2d7c7fbe
2005-01-25 Volker Reichelt <reichelt@igpm.rwth-aachen.de> 2005-01-25 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* name-lookup.c (print_binding_level): Make static.
(constructor_name_full): Make static inline.
(current_decl_namespace): Make static.
* name-lookup.h (constructor_name_full): Remove prototype.
(print_binding_level): Likewise.
(storetags): Likewise.
(current_decl_namespace): Likewise.
2005-01-25 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* decl.h (debug_bindings_indentation): Remove. * decl.h (debug_bindings_indentation): Remove.
2005-01-23 Kazu Hirata <kazu@cs.umass.edu> 2005-01-23 Kazu Hirata <kazu@cs.umass.edu>
......
...@@ -1478,7 +1478,7 @@ getdecls (void) ...@@ -1478,7 +1478,7 @@ getdecls (void)
static int no_print_functions = 0; static int no_print_functions = 0;
static int no_print_builtins = 0; static int no_print_builtins = 0;
void static void
print_binding_level (struct cp_binding_level* lvl) print_binding_level (struct cp_binding_level* lvl)
{ {
tree t; tree t;
...@@ -1656,7 +1656,7 @@ set_identifier_type_value (tree id, tree decl) ...@@ -1656,7 +1656,7 @@ set_identifier_type_value (tree id, tree decl)
specified class TYPE. When given a template, this routine doesn't specified class TYPE. When given a template, this routine doesn't
lose the specialization. */ lose the specialization. */
tree static inline tree
constructor_name_full (tree type) constructor_name_full (tree type)
{ {
return TYPE_IDENTIFIER (TYPE_MAIN_VARIANT (type)); return TYPE_IDENTIFIER (TYPE_MAIN_VARIANT (type));
...@@ -2821,7 +2821,7 @@ set_decl_namespace (tree decl, tree scope, bool friendp) ...@@ -2821,7 +2821,7 @@ set_decl_namespace (tree decl, tree scope, bool friendp)
/* Return the namespace where the current declaration is declared. */ /* Return the namespace where the current declaration is declared. */
tree static tree
current_decl_namespace (void) current_decl_namespace (void)
{ {
tree result; tree result;
......
...@@ -94,7 +94,6 @@ DEF_VEC_GC_O(cxx_saved_binding); ...@@ -94,7 +94,6 @@ DEF_VEC_GC_O(cxx_saved_binding);
extern tree identifier_type_value (tree); extern tree identifier_type_value (tree);
extern void set_identifier_type_value (tree, tree); extern void set_identifier_type_value (tree, tree);
extern void pop_binding (tree, tree); extern void pop_binding (tree, tree);
extern tree constructor_name_full (tree);
extern tree constructor_name (tree); extern tree constructor_name (tree);
extern bool constructor_name_p (tree, tree); extern bool constructor_name_p (tree, tree);
...@@ -293,7 +292,6 @@ extern bool template_parm_scope_p (void); ...@@ -293,7 +292,6 @@ extern bool template_parm_scope_p (void);
extern scope_kind innermost_scope_kind (void); extern scope_kind innermost_scope_kind (void);
extern cxx_scope *begin_scope (scope_kind, tree); extern cxx_scope *begin_scope (scope_kind, tree);
extern void print_binding_stack (void); extern void print_binding_stack (void);
extern void print_binding_level (cxx_scope *);
extern void push_to_top_level (void); extern void push_to_top_level (void);
extern void pop_from_top_level (void); extern void pop_from_top_level (void);
extern void pop_everything (void); extern void pop_everything (void);
...@@ -328,7 +326,6 @@ extern bool push_class_level_binding (tree, tree); ...@@ -328,7 +326,6 @@ extern bool push_class_level_binding (tree, tree);
extern tree getdecls (void); extern tree getdecls (void);
extern tree cp_namespace_decls (tree); extern tree cp_namespace_decls (tree);
extern void set_decl_namespace (tree, tree, bool); extern void set_decl_namespace (tree, tree, bool);
extern tree current_decl_namespace (void);
extern void push_decl_namespace (tree); extern void push_decl_namespace (tree);
extern void pop_decl_namespace (void); extern void pop_decl_namespace (void);
extern void do_namespace_alias (tree, tree); extern void do_namespace_alias (tree, tree);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment