This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch aoliva/libcp1 in repository gcc.
commit de5815d9110d47fd5afacb4e0b7e64e75ce9786d Author: Alexandre Oliva aoliva@redhat.com Date: Fri May 22 06:14:35 2015 -0300
Drop libcc1 plugin interfaces that are no longer used. --- gcc/cp/cp-tree.h | 6 ------ gcc/cp/name-lookup.c | 20 -------------------- 2 files changed, 26 deletions(-)
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 2cdbfd5..e14aa01 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -6414,12 +6414,6 @@ typedef void cp_binding_oracle_function (enum cp_oracle_requ [...]
extern cp_binding_oracle_function *cp_binding_oracle;
-extern void cp_pushtag (location_t, tree, tree); -extern void cp_bind (location_t, tree, bool); - -/* In class.c */ -extern void cp_finish_injected_record_type (tree); - /* in vtable-class-hierarchy.c */ extern void vtv_compute_class_hierarchy_transitive_closure (void); extern void vtv_generate_init_routine (void); diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index dd757a3..81b31b4 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -6026,26 +6026,6 @@ pushtag (tree name, tree type, tag_scope scope) return ret; }
-void -cp_bind (location_t loc, tree decl, bool is_global) -{ - DECL_SOURCE_LOCATION (decl) = loc; - - if (!is_global) - { - push_local_binding (DECL_NAME (decl), decl, 0); - return; - } - - /* Select the global namespace. */ - cp_binding_level *level = current_binding_level; - - while (level->level_chain) - level = level->level_chain; - - add_decl_to_level (decl, level); -} - /* Subroutines for reverting temporarily to top-level for instantiation of templates and such. We actually need to clear out the class- and