diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-19 21:16:56 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-19 21:16:56 +0000 |
commit | a03682fdc85bcad62c922279b0eb6a527b60cd33 (patch) | |
tree | ef1a70ec7dce1a4d95ab58770164239503662894 /gcc/cp | |
parent | 799c4779faaf52f2fc7d8d2abcd2a4a7e26d20cd (diff) | |
download | ppe42-gcc-a03682fdc85bcad62c922279b0eb6a527b60cd33.tar.gz ppe42-gcc-a03682fdc85bcad62c922279b0eb6a527b60cd33.zip |
* cp-tree.h, name-lookup.h: Remove unused prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93920 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/cp-tree.h | 25 | ||||
-rw-r--r-- | gcc/cp/name-lookup.h | 1 |
3 files changed, 4 insertions, 26 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 96ddad70ee0..5891fde0a50 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2005-01-19 Kazu Hirata <kazu@cs.umass.edu> + + * cp-tree.h, name-lookup.h: Remove unused prototypes. + 2005-01-19 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> PR c++/19375 diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index d0d0d70a8ea..27ae2e8dfdd 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -3659,7 +3659,6 @@ extern tree build_x_va_arg (tree, tree); extern tree cxx_type_promotes_to (tree); extern tree type_passed_as (tree); extern tree convert_for_arg_passing (tree, tree); -extern tree cp_convert_parm_for_inlining (tree, tree, tree); extern bool is_properly_derived_from (tree, tree); extern tree initialize_reference (tree, tree, tree, tree *); extern tree make_temporary_var_for_ref_to_temp (tree, tree); @@ -3747,10 +3746,8 @@ enum cp_tree_node_structure_enum cp_tree_node_structure extern bool cxx_mark_addressable (tree); extern void cxx_push_function_context (struct function *); extern void cxx_pop_function_context (struct function *); -extern void cxx_mark_function_context (struct function *); extern void maybe_push_cleanup_level (tree); extern void finish_scope (void); -extern void add_block_current_level (tree); extern void push_switch (tree); extern void pop_switch (void); extern tree pushtag (tree, tree, int); @@ -3763,7 +3760,6 @@ extern tree push_using_decl (tree, tree); extern tree declare_local_label (tree); extern tree define_label (location_t, tree); extern void check_goto (tree); -extern void define_case_label (void); extern tree make_typename_type (tree, tree, enum tag_types, tsubst_flags_t); extern tree make_unbound_class_template (tree, tree, tree, tsubst_flags_t); extern tree check_for_out_of_scope_variable (tree); @@ -3773,7 +3769,6 @@ extern tree build_cp_library_fn_ptr (const char *, tree); extern tree push_library_fn (tree, tree); extern tree push_void_library_fn (tree, tree); extern tree push_throw_library_fn (tree, tree); -extern int init_type_desc (void); extern tree check_tag_decl (cp_decl_specifier_seq *); extern tree shadow_tag (cp_decl_specifier_seq *); extern tree groktypename (cp_decl_specifier_seq *, const cp_declarator *); @@ -3812,7 +3807,6 @@ extern void fixup_anonymous_aggr (tree); extern int check_static_variable_definition (tree, tree); extern tree compute_array_index_type (tree, tree); extern tree check_default_argument (tree, tree); -extern int sigtable_decl_p (tree, void *); typedef int (*walk_namespaces_fn) (tree, void *); extern int walk_namespaces (walk_namespaces_fn, void *); @@ -3852,10 +3846,8 @@ extern tree check_classfn (tree, tree, tree); extern void check_member_template (tree); extern tree grokfield (const cp_declarator *, cp_decl_specifier_seq *, tree, tree, tree); extern tree grokbitfield (const cp_declarator *, cp_decl_specifier_seq *, tree); -extern tree groktypefield (tree, tree); extern void cplus_decl_attributes (tree *, tree, int); extern void finish_anon_union (tree); -extern tree finish_table (tree, tree, tree, int); extern void cp_finish_file (void); extern tree coerce_new_type (tree); extern tree coerce_delete_type (tree); @@ -3898,11 +3890,8 @@ extern void print_instantiation_context (void); extern void init_exception_processing (void); extern tree expand_start_catch_block (tree); extern void expand_end_catch_block (void); -extern void expand_builtin_throw (void); -extern void expand_exception_blocks (void); extern tree build_exc_ptr (void); extern tree build_throw (tree); -extern void mark_all_runtime_matches (void); extern int nothrow_libfn_p (tree); extern void check_handlers (tree); extern void choose_personality_routine (enum languages); @@ -3943,12 +3932,8 @@ extern tree integral_constant_value (tree); /* in lex.c */ extern void cxx_dup_lang_specific_decl (tree); -extern void print_parse_statistics (void); -extern void do_pending_inlines (void); extern void yyungetc (int, int); -extern void snarf_method (tree); -extern void see_typename (void); extern tree unqualified_name_lookup_error (tree); extern tree unqualified_fn_lookup_error (tree); extern tree build_lang_decl (enum tree_code, tree, tree); @@ -4086,7 +4071,6 @@ extern bool at_class_scope_p (void); extern bool at_namespace_scope_p (void); extern tree context_for_name_lookup (tree); extern tree lookup_conversions (tree); -extern tree binfo_for_vtable (tree); extern tree binfo_from_vbase (tree); extern tree binfo_for_vbase (tree, tree); extern tree look_for_overrides_here (tree, tree); @@ -4151,7 +4135,6 @@ extern void finish_function_handler_sequence (tree); extern void finish_cleanup_try_block (tree); extern tree begin_handler (void); extern void finish_handler_parms (tree, tree); -extern void begin_catch_block (tree); extern void finish_handler (tree); extern void finish_cleanup (tree, tree); @@ -4166,7 +4149,6 @@ extern void finish_compound_stmt (tree); extern tree finish_asm_stmt (int, tree, tree, tree, tree); extern tree finish_label_stmt (tree); extern void finish_label_decl (tree); -extern void finish_subobject (tree); extern tree finish_parenthesized_expr (tree); extern tree finish_non_static_data_member (tree, tree, tree); extern tree begin_stmt_expr (void); @@ -4184,7 +4166,6 @@ extern void finish_translation_unit (void); extern tree finish_template_type_parm (tree, tree); extern tree finish_template_template_parm (tree, tree); extern tree begin_class_definition (tree); -extern void finish_default_args (void); extern void finish_template_decl (tree); extern tree finish_template_type (tree, tree, int); extern tree finish_base_specifier (tree, tree, bool); @@ -4198,10 +4179,7 @@ extern tree finish_typeof (tree); extern void finish_decl_cleanup (tree, tree); extern void finish_eh_cleanup (tree); extern void expand_body (tree); -extern void cxx_expand_function_start (void); extern void finish_mem_initializers (tree); -extern void setup_vtbl_ptr (tree, tree); -extern void clear_out_block (void); extern tree check_template_template_default_arg (tree); extern void expand_or_defer_fn (tree); extern void check_accessibility_of_qualified_id (tree, tree, tree); @@ -4231,7 +4209,6 @@ extern tree build_min_nt (enum tree_code, ...); extern tree build_min_non_dep (enum tree_code, tree, ...); extern tree build_cplus_new (tree, tree); extern tree get_target_expr (tree); -extern tree build_cplus_staticfn_type (tree, tree, tree); extern tree build_cplus_array_type (tree, tree); extern tree hash_tree_cons (tree, tree, tree); extern tree hash_tree_chain (tree, tree); @@ -4239,8 +4216,6 @@ extern int is_overloaded_fn (tree); extern tree get_first_fn (tree); extern tree ovl_cons (tree, tree); extern tree build_overload (tree, tree); -extern tree function_arg_chain (tree); -extern int promotes_to_aggr_type (tree, enum tree_code); extern const char *cxx_printable_name (tree, int); extern tree build_exception_variant (tree, tree); extern tree bind_template_template_parm (tree, tree); diff --git a/gcc/cp/name-lookup.h b/gcc/cp/name-lookup.h index 7c6f9263b19..2e14494bdd0 100644 --- a/gcc/cp/name-lookup.h +++ b/gcc/cp/name-lookup.h @@ -325,7 +325,6 @@ extern void push_local_binding (tree, tree, int); extern bool pushdecl_class_level (tree); extern tree pushdecl_namespace_level (tree); extern bool push_class_level_binding (tree, tree); -extern void storetags (tree); extern tree getdecls (void); extern tree cp_namespace_decls (tree); extern void set_decl_namespace (tree, tree, bool); |