#include "config.h"#include "system.h"#include "tree.h"#include "cp-tree.h"#include "obstack.h"#include "flags.h"#include "rtl.h"#include "output.h"#include "ggc.h"#include "toplev.h"#include "stack.h"

Go to the source code of this file.
| #define BINFO_ACCESS | ( | NODE | ) | ((access_kind) ((TREE_LANG_FLAG_1 (NODE) << 1) | TREE_LANG_FLAG_6 (NODE))) |
Definition at line 703 of file search.c.
Referenced by access_in_type(), dfs_access_in_type(), dfs_accessible_p(), and dfs_accessible_post().
| #define search_level stack_level |
| #define SET_BINFO_ACCESS | ( | NODE, | |||
| ACCESS | ) |
Value:
((TREE_LANG_FLAG_1 (NODE) = ((ACCESS) & 2) != 0), \ (TREE_LANG_FLAG_6 (NODE) = ((ACCESS) & 1) != 0))
Definition at line 708 of file search.c.
Referenced by dfs_access_in_type().
| static access_kind access_in_type | ( | tree | type, | |
| tree | decl | |||
| ) | [static] |
Definition at line 811 of file search.c.
References assert_canonical_unmarked(), BINFO_ACCESS, dfs_access_in_type(), dfs_unmark(), dfs_walk(), dfs_walk_real(), shared_marked_p(), shared_unmarked_p(), and TYPE_BINFO.
Referenced by accessible_p(), and protected_accessible_p().
Definition at line 1034 of file search.c.
References access_in_type(), assert_canonical_unmarked(), BINFO_TYPE, context_for_name_lookup(), current_class_type, current_scope(), dfs_accessible_p(), dfs_accessible_queue_p(), dfs_canonical_queue(), dfs_unmark(), dfs_walk(), flag_access_control, friend_accessible_p(), NULL_TREE, protected_accessible_p(), TYPE_BINFO, and TYPE_P.
Referenced by accessible_base_p(), enforce_access(), and type_access_control().
Definition at line 2833 of file search.c.
References BINFO_TYPE, CLASSTYPE_METHOD_VEC, conversions, DECL_CONV_FN_P, DECL_CONV_FN_TYPE, DECL_NAME, i, IDENTIFIER_MARKED, NULL_TREE, OVL_CURRENT, OVL_NEXT, same_type_p, tmp, TREE_CHAIN, tree_cons, TREE_TYPE, TREE_VALUE, TREE_VEC_ELT, and TREE_VEC_LENGTH.
Referenced by lookup_conversions().
Definition at line 670 of file search.c.
References dfs_assert_unmarked_p(), dfs_canonical_queue(), and dfs_walk().
Referenced by access_in_type(), and accessible_p().
| int at_function_scope_p | ( | void | ) |
Definition at line 596 of file search.c.
Referenced by build_cxx_call(), check_multiple_declarators(), cp_finish_decl(), cp_parser_asm_definition(), cp_parser_constructor_declarator_p(), cp_parser_direct_declarator(), cp_parser_primary_expression(), do_local_using_decl(), finish_anon_union(), finish_enum(), finish_struct(), grokdeclarator(), grokvardecl(), initialize_reference(), and tsubst().
Definition at line 1857 of file search.c.
References BINFO_BASETYPES, i, NULL_TREE, lookup_field_info::rval, tail, TREE_VEC_ELT, TREE_VEC_LENGTH, VARRAY_GROW, VARRAY_SIZE, VARRAY_TREE, VARRAY_TREE_INIT, and varray_type.
Referenced by lookup_conversions(), and lookup_member().
Definition at line 3033 of file search.c.
Referenced by base_derived_from(), build_base_path(), build_ctor_vtbl_group(), build_special_member_call(), build_vbase_offset_vtbl_entries(), build_vtt_inits(), copied_binfo(), copy_binfo(), dfs_accumulate_vtbl_inits(), dfs_ctor_vtable_bases_queue_p(), dfs_marked_real_bases_queue_p(), dfs_set_offset_for_unshared_vbases(), dfs_unmarked_real_bases_queue_p(), dfs_unshared_virtual_bases(), dump_class_hierarchy_r(), expand_member_init(), find_vbase_instance(), finish_vtbls(), get_original_base(), get_primary_binfo(), get_pseudo_ti_init(), is_subobject_of_p(), is_subobject_of_p_1(), layout_virtual_bases(), mark_primary_virtual_base(), original_binfo(), propagate_binfo_offsets(), update_vtable_entry_for_fn(), and walk_subobject_offsets().
Definition at line 2973 of file search.c.
References BINFO_TYPE, BINFO_VTABLE, CLASSTYPE_HAS_PRIMARY_BASE_P, CLASSTYPE_N_BASECLASSES, DECL_CONTEXT, get_primary_binfo(), i, NULL_TREE, TREE_VEC_ELT, TYPE_BINFO, and TYPE_BINFO_BASETYPES.
Referenced by output_vtable_inherit().
Definition at line 3016 of file search.c.
Referenced by accumulate_vtbl_inits(), dfs_build_secondary_vptr_vtt_inits(), and dfs_lookup_base().
Definition at line 637 of file search.c.
References BINFO_TYPE, TREE_VIA_VIRTUAL, and TYPE_BINFO.
Referenced by dfs_access_in_type(), dfs_accessible_queue_p(), dfs_canonical_queue(), shared_marked_p(), and shared_unmarked_p().
Definition at line 2034 of file search.c.
References comp_except_specs(), covariant_return_p(), cp_error_at(), cp_pedwarn_at(), DECL_ASSEMBLER_NAME, DECL_CONTEXT, i, IDENTIFIER_ERROR_LOCUS, IS_AGGR_TYPE_2, NULL_TREE, pedantic, same_or_base_type_p, same_type_p, SET_IDENTIFIER_ERROR_LOCUS, sorry(), TREE_TYPE, and TYPE_RAISES_EXCEPTIONS.
Referenced by look_for_overrides_r(), and update_vtable_entry_for_fn().
Definition at line 614 of file search.c.
Referenced by accessible_p(), build_unary_op(), check_accessibility_of_qualified_id(), dfs_access_in_type(), finish_non_static_data_member(), hack_identifier(), protected_accessible_p(), push_class_binding(), push_class_level_binding(), and set_inherited_value_binding_p().
Definition at line 1985 of file search.c.
References ba_check, ba_quiet, BINFO_OFFSET_ZEROP, bk_via_virtual, can_convert(), IS_AGGR_TYPE, lookup_base(), same_type_p, TREE_CODE, TREE_TYPE, and TYPE_QUALS.
Referenced by check_final_overrider().
Definition at line 574 of file search.c.
Referenced by accessible_p(), at_class_scope_p(), at_function_scope_p(), at_namespace_scope_p(), begin_inline_definitions(), build_array_declarator(), build_compound_literal(), build_enumerator(), c_init_decl_processing(), check_for_loop_decls(), check_specialization_scope(), check_tag_decl(), cp_parser_class_head(), declare_label(), declare_parm_level(), dfs_accessible_p(), dfs_accessible_post(), dfs_accessible_queue_p(), dfs_walk_once_accessible_r(), do_local_using_decl(), do_namespace_alias(), do_using_directive(), finish_class_definition(), finish_decl(), finish_enum(), finish_struct(), get_parm_info(), global_bindings_p(), grokdeclarator(), grokvardecl(), handle_class_head(), handle_class_head_apparent_template(), implicitly_declare(), insert_block(), lookup_tag(), mark_forward_parm_decls(), merge_decls(), objc_get_current_scope(), objc_mark_locals_volatile(), pop_file_scope(), pop_scope(), push_file_scope(), push_inner_scope(), push_scope(), push_template_decl_real(), pushdecl(), pushtag(), shadow_tag_warned(), start_decl(), start_function(), store_parm_decls_newstyle(), store_parm_decls_oldstyle(), undeclared_variable(), and warn_if_shadowing().
| static int dependent_base_p | ( | tree | binfo | ) | [static] |
Definition at line 2577 of file search.c.
References BINFO_INHERITANCE_CHAIN, currently_open_class(), TREE_TYPE, and uses_template_parms().
Referenced by dfs_push_decls(), and lookup_field_r().
Definition at line 716 of file search.c.
References access, ak_none, ak_private, ak_protected, ak_public, BINFO_ACCESS, BINFO_BASETYPES, BINFO_TYPE, canonical_binfo(), context_for_name_lookup(), DECL_ACCESS, DECL_DISCRIMINATOR_P, DECL_LANG_SPECIFIC, i, NULL_TREE, purpose_member(), SET_BINFO_ACCESS, SET_BINFO_MARKED, TREE_INT_CST_LOW, TREE_PRIVATE, TREE_PROTECTED, TREE_VALUE, TREE_VEC_ELT, TREE_VEC_LENGTH, TREE_VIA_PROTECTED, and TREE_VIA_PUBLIC.
Referenced by access_in_type().
Definition at line 858 of file search.c.
References access, ak_none, ak_protected, ak_public, BINFO_ACCESS, BINFO_TYPE, current_scope(), is_friend(), NULL_TREE, and SET_BINFO_MARKED.
Referenced by accessible_p().
Definition at line 838 of file search.c.
References BINFO_INHERITANCE_CHAIN, BINFO_MARKED, BINFO_TYPE, canonical_binfo(), current_scope(), is_friend(), NULL_TREE, and TREE_VIA_PUBLIC.
Referenced by accessible_p().
Definition at line 658 of file search.c.
References BINFO_MARKED, my_friendly_assert, and NULL_TREE.
Referenced by assert_canonical_unmarked().
Definition at line 2403 of file search.c.
References NULL_TREE, SET_BINFO_MARKED, and TREE_CHAIN.
Referenced by get_vbase_types().
Definition at line 648 of file search.c.
References canonical_binfo().
Referenced by accessible_p(), and assert_canonical_unmarked().
Definition at line 2916 of file search.c.
References BINFO_BASETYPE, BINFO_BASETYPES, BINFO_TYPE, overlap_info::compare_type, overlap_info::found_overlap, NULL_TREE, and TYPE_BINFO.
Referenced by types_overlap_p().
Definition at line 2528 of file search.c.
References BINFO_TYPE, CLASSTYPE_DEBUG_REQUESTED, and NULL_TREE.
Referenced by note_debug_info_needed().
Definition at line 2543 of file search.c.
References BINFO_TYPE, CLASSTYPE_DEBUG_REQUESTED, and NULL_TREE.
Referenced by note_debug_info_needed().
Definition at line 2443 of file search.c.
References base, BINFO_PRIMARY_P, BINFO_TYPE, NULL_TREE, same_type_p, and TREE_VALUE.
Referenced by find_vbase_instance().
Definition at line 2245 of file search.c.
References BINFO_PRIMARY_P, BINFO_VIRTUALS, BV_FN, CLASSTYPE_PURE_VIRTUALS, DECL_PURE_VIRTUAL_P, NULL_TREE, SET_BINFO_MARKED, TREE_CHAIN, and tree_cons.
Referenced by get_pure_virtuals().
Definition at line 2384 of file search.c.
References BINFO_TYPE, CLASSTYPE_VBASECLASSES, NULL_TREE, SET_BINFO_MARKED, tree_cons, and TREE_VIA_VIRTUAL.
Referenced by get_vbase_types().
Definition at line 2213 of file search.c.
References binfo_for_vbase(), BINFO_TYPE, markedp(), NULL, TREE_CODE, TREE_PURPOSE, and TREE_VIA_VIRTUAL.
Referenced by get_pure_virtuals(), initialize_vtbl_ptrs(), and modify_all_vtables().
Definition at line 2941 of file search.c.
References overlap_info::found_overlap, and NULL_TREE.
Referenced by types_overlap_p().
Definition at line 2691 of file search.c.
References ANON_AGGR_TYPE_P, BINFO_TYPE, CLASS_TYPE_P, CLASSTYPE_METHOD_VEC, CLEAR_BINFO_PUSHDECLS_MARKED, current_class_type, DECL_ARTIFICIAL, DECL_NAME, dependent_base_p(), end, NULL_TREE, OVL_CURRENT, processing_template_decl, setup_class_bindings(), TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VEC_ELT, TREE_VEC_END, TREE_VEC_LENGTH, TYPE_BINFO, and TYPE_FIELDS.
Referenced by dfs_push_decls(), and push_class_decls().
Definition at line 2666 of file search.c.
References BINFO_TYPE, current_class_type, DECL_NAME, NULL_TREE, same_type_p, SET_BINFO_PUSHDECLS_MARKED, setup_class_bindings(), template_self_reference_p(), TREE_CHAIN, TREE_CODE, and TYPE_FIELDS.
Referenced by push_class_decls().
Definition at line 2371 of file search.c.
References CLEAR_BINFO_MARKED, and NULL_TREE.
Referenced by access_in_type(), accessible_p(), build_vtt_inits(), get_pure_virtuals(), get_template_base(), get_vbase_types(), initialize_vtbl_ptrs(), and modify_all_vtables().
Definition at line 2194 of file search.c.
References binfo_for_vbase(), BINFO_TYPE, NULL, TREE_CODE, TREE_PURPOSE, TREE_VIA_VIRTUAL, and unmarkedp().
Referenced by get_pure_virtuals(), initialize_vtbl_ptrs(), and modify_all_vtables().
Definition at line 2762 of file search.c.
References ANON_AGGR_TYPE_P, DECL_ARTIFICIAL, DECL_NAME, NULL_TREE, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_USED, TYPE_FIELDS, and unuse_fields().
Referenced by unuse_fields().
Definition at line 1969 of file search.c.
References dfs_walk_real().
Referenced by access_in_type(), accessible_p(), assert_canonical_unmarked(), base_derived_from(), build_vtt_inits(), class_hint_flags(), find_final_overrider(), find_vbase_instance(), get_primary_binfo(), get_pure_virtuals(), get_template_base(), get_vbase_types(), initialize_vtbl_ptrs(), layout_virtual_bases(), mark_primary_bases(), modify_all_vtables(), note_debug_info_needed(), push_class_decls(), types_overlap_p(), and unuse_fields().
Definition at line 1920 of file search.c.
References BINFO_BASETYPES, BINFO_N_BASETYPES, i, NULL_TREE, lookup_field_info::rval, and TREE_VEC_ELT.
Referenced by access_in_type(), build_vtt_inits(), dfs_walk(), dfs_walk_real(), get_vbase_types(), and initialize_vtbl_ptrs().
| static int dynamic_cast_base_recurse | ( | tree | subtype, | |
| tree | binfo, | |||
| int | via_virtual, | |||
| tree * | offset_ptr | |||
| ) | [static] |
Definition at line 369 of file search.c.
References BINFO_BASETYPES, BINFO_OFFSET, BINFO_TYPE, i, TREE_VEC_ELT, TREE_VEC_LENGTH, TREE_VIA_PUBLIC, and TREE_VIA_VIRTUAL.
Referenced by dynamic_cast_base_recurse(), and get_dynamic_cast_base_type().
Definition at line 2460 of file search.c.
References binfo_for_vbase(), BINFO_PRIMARY_P, build_tree_list, dfs_find_vbase_instance(), dfs_walk(), NULL, and TYPE_BINFO.
Definition at line 943 of file search.c.
References CLASSTYPE_BEFRIENDING_CLASSES, CLASSTYPE_TEMPLATE_INFO, CLASSTYPE_TI_TEMPLATE, DECL_BEFRIENDING_CLASSES, DECL_CLASS_SCOPE_P, DECL_CONTEXT, DECL_FUNCTION_TEMPLATE_P, DECL_TEMPLATE_INFO, DECL_TI_TEMPLATE, protected_accessible_p(), TREE_CHAIN, TREE_CODE, TREE_VALUE, TYPE_CONTEXT, and TYPE_P.
Referenced by accessible_p(), and friend_accessible_p().
Definition at line 426 of file search.c.
References build_int_2, dynamic_cast_base_recurse(), NULL_TREE, offset, ssizetype, TREE_TYPE, and TYPE_BINFO.
Referenced by build_dynamic_cast_1().
Definition at line 2419 of file search.c.
References CLASSTYPE_VBASECLASSES, dfs_build_inheritance_graph_order(), dfs_get_vbase_types(), dfs_unmark(), dfs_walk(), dfs_walk_real(), markedp(), nreverse(), NULL, NULL_TREE, TYPE_BINFO, and unmarkedp().
Referenced by xref_basetypes().
| void init_search_processing | ( | ) |
Definition at line 2814 of file search.c.
References gcc_obstack_init, and search_obstack.
Referenced by cxx_init_decl_processing().
Definition at line 1162 of file search.c.
References CLASSTYPE_VBASECLASSES, CLEAR_CLASSTYPE_MARKED4, is_subobject_of_p_1(), result, TREE_CHAIN, TREE_TYPE, and TREE_VALUE.
Referenced by lookup_field_queue_p(), and lookup_field_r().
Definition at line 1117 of file search.c.
References BINFO_BASETYPES, binfo_for_vbase(), CLASS_TYPE_P, CLASSTYPE_MARKED4, i, SET_CLASSTYPE_MARKED4, TREE_TYPE, TREE_VEC_ELT, TREE_VEC_LENGTH, and TREE_VIA_VIRTUAL.
Referenced by is_subobject_of_p(), and is_subobject_of_p_1().
Definition at line 2095 of file search.c.
Referenced by check_for_override(), and look_for_overrides_r().
Definition at line 2118 of file search.c.
Referenced by build_vtbl_initializer(), dfs_find_final_overrider(), dfs_find_final_overrider_1(), GTY(), look_for_overrides_r(), and update_vtable_entry_for_fn().
Definition at line 2157 of file search.c.
References check_final_overrider(), cp_error_at(), DECL_STATIC_FUNCTION_P, DECL_VIRTUAL_P, look_for_overrides(), and look_for_overrides_here().
Referenced by look_for_overrides().
| tree lookup_base | ( | tree | t, | |
| tree | base, | |||
| base_access | access, | |||
| base_kind * | kind_ptr | |||
| ) |
Definition at line 290 of file search.c.
Referenced by adjust_result_of_qualified_name_lookup(), binfo_or_else(), build_class_member_access_expr(), build_dynamic_cast_1(), build_m_component_ref(), build_over_call(), build_scoped_ref(), build_static_cast(), build_static_cast_1(), build_unary_op(), build_up_reference(), build_vtbl_ref_1(), check_final_overrider(), convert_to_base(), convert_to_pointer_force(), covariant_return_p(), cp_convert_to_pointer(), do_class_using_decl(), expand_member_init(), finish_class_member_access_expr(), get_delta_difference(), get_member_function_from_ptrfunc(), handle_using_decl(), is_base_of_enclosing_class(), maybe_dummy_object(), resolve_offset_ref(), and warn_about_ambiguous_bases().
| static base_kind lookup_base_r | ( | tree | binfo, | |
| tree | base, | |||
| base_access | access, | |||
| int | is_virtual, | |||
| tree * | binfo_ptr | |||
| ) | [static] |
Definition at line 178 of file search.c.
References abort, ba_any, BINFO_BASETYPES, BINFO_OFFSET, BINFO_TYPE, bk_ambig, bk_not_base, bk_proper_base, bk_same_type, bk_via_virtual, i, my_friendly_assert, NULL, same_type_p, tree_int_cst_equal(), TREE_VEC_ELT, TREE_VEC_LENGTH, and TREE_VIA_VIRTUAL.
Referenced by lookup_base(), and lookup_base_r().
Definition at line 1664 of file search.c.
References CLASSTYPE_FIRST_CONVERSION_SLOT, CLASSTYPE_METHOD_VEC, DECL_CONV_FN_P, DECL_CONV_FN_TYPE, i, OVL_CURRENT, same_type_p, TREE_CODE, TREE_VEC_ELT, and TREE_VEC_LENGTH.
Referenced by lookup_fnfields_1().
Definition at line 2891 of file search.c.
Referenced by add_builtin_candidates(), build_expr_type_conversion(), build_object_call(), build_user_type_conversion_1(), and convert_class_to_reference().
Definition at line 1203 of file search.c.
References CANONICAL_BINFO, lookup_field_info::from_dep_base_p, IDENTIFIER_CTOR_OR_DTOR_P, is_subobject_of_p(), lookup_field_info::name, NULL_TREE, lookup_field_info::rval_binfo, and lookup_field_info::type.
Referenced by lookup_member().
Definition at line 1280 of file search.c.
References lookup_field_info::ambiguous, binding_table_find(), BINFO_TYPE, CLASSTYPE_METHOD_VEC, CLASSTYPE_NESTED_UDTS, DECL_CLASS_TEMPLATE_P, DECL_NAME, dependent_base_p(), error_mark_node, lookup_field_info::errstr, lookup_field_info::from_dep_base_p, idx, is_subobject_of_p(), lookup_field_1(), lookup_fnfields_1(), lookup_field_info::name, NULL, NULL_TREE, lookup_field_info::rval, lookup_field_info::rval_binfo, same_type_p, shared_member_p(), template_self_reference_p(), TREE_CHAIN, TREE_CODE, tree_cons, TREE_TYPE, TREE_VEC_ELT, lookup_field_info::type, TYPE_IDENTIFIER, TYPE_MAIN_DECL, and lookup_field_info::want_type.
Referenced by lookup_member().
Definition at line 1581 of file search.c.
Referenced by build_dtor_call(), build_member_call(), build_method_call(), build_new_1(), build_new_op(), build_object_call(), build_op_delete_call(), build_special_member_call(), build_throw(), build_user_type_conversion_1(), tsubst_baselink(), and type_requires_array_cookie().
Definition at line 1718 of file search.c.
Referenced by check_classfn(), check_explicit_specialization(), class_method_index_for_fn(), get_basefndecls(), locate_copy(), look_for_overrides_here(), and lookup_field_r().
Definition at line 1457 of file search.c.
Referenced by build_call_from_tree(), build_expr_from_tree(), build_method_call(), build_offset_ref(), build_ptrmemfunc_access_expr(), cp_parser_lookup_name(), do_class_using_decl(), finish_class_member_access_expr(), get_class_binding(), handle_using_decl(), lookup_destructor(), lookup_field(), lookup_fnfields(), lookup_name_real(), lookup_qualified_name(), make_friend_class(), maybe_note_name_used_in_class(), pushdecl(), pushdecl_maybe_friend(), resolve_scoped_fn_name(), resolve_typename_type(), and setup_class_bindings().
Definition at line 1597 of file search.c.
References current_class_type, DECL_CONTEXT, error(), error_mark_node, lookup_field(), NULL_TREE, TREE_CODE, TREE_STATIC, TREE_TYPE, and TYPE_MAIN_DECL.
Referenced by lookup_name_real().
Definition at line 2349 of file search.c.
References BINFO_PUSHDECLS_MARKED, BINFO_TYPE, CLASS_TYPE_P, and NULL_TREE.
Referenced by push_class_decls().
Definition at line 2317 of file search.c.
References BINFO_MARKED, and NULL_TREE.
Referenced by dfs_marked_real_bases_queue_p(), get_template_base(), get_vbase_types(), and shared_marked_p().
Definition at line 2559 of file search.c.
Referenced by genrtl_finish_function(), layout_var_decl(), and maybe_emit_vtables().
| static int shared_member_p PARAMS | ( | (tree) | ) | [static] |
| static tree bfs_walk PARAMS | ( | (tree, tree(*)(tree, void *), tree(*)(tree, void *), void *) | ) | [static] |
| static struct search_level* pop_search_level PARAMS | ( | (struct stack_level *) | ) | [static, read] |
| static struct search_level* push_search_level PARAMS | ( | (struct stack_level *, struct obstack *) | ) | [static, read] |
| static base_kind lookup_base_r PARAMS | ( | (tree, tree, base_access, int, tree *) | ) | [static] |
| void pop_class_decls | ( | ) |
Definition at line 2791 of file search.c.
References pop_search_level(), and search_stack.
Referenced by popclass().
| static struct search_level* pop_search_level | ( | struct stack_level * | obstack | ) | [static, read] |
Definition at line 146 of file search.c.
References pop_stack_level(), search_level, and stack.
Referenced by pop_class_decls().
| struct stack_level* pop_stack_level | ( | struct stack_level * | stack | ) | [read] |
Definition at line 61 of file search.c.
References stack_level::obstack, obstack_free, and stack_level::prev.
Referenced by pop_search_level().
Definition at line 880 of file search.c.
References access, access_in_type(), ak_none, BINFO_INHERITANCE_CHAIN, BINFO_TYPE, context_for_name_lookup(), DECL_NONSTATIC_MEMBER_P, and DERIVED_FROM_P.
Referenced by accessible_p(), and friend_accessible_p().
Definition at line 2747 of file search.c.
References dfs_push_decls(), dfs_push_type_decls(), dfs_walk(), marked_pushdecls_p(), push_search_level(), search_obstack, search_stack, TYPE_BINFO, and unmarked_pushdecls_p().
Referenced by pushclass().
| static struct search_level* push_search_level | ( | struct stack_level * | stack, | |
| struct obstack * | obstack | |||
| ) | [static, read] |
Definition at line 133 of file search.c.
References push_stack_level(), and search_level.
Referenced by push_class_decls().
| struct stack_level* push_stack_level | ( | struct obstack * | obstack, | |
| char * | tp, | |||
| int | size | |||
| ) | [read] |
Definition at line 45 of file search.c.
References stack_level::first, stack_level::limit, stack_level::obstack, obstack_base, obstack_finish, obstack_grow, obstack_next_free, obstack_room, and stack.
Referenced by push_search_level().
Definition at line 2591 of file search.c.
References BASELINK_FUNCTIONS, BASELINK_P, current_class_type, DECL_CLASS_TEMPLATE_P, DECL_NAME, error_mark_node, IDENTIFIER_CLASS_VALUE, IDENTIFIER_TYPENAME_P, is_overloaded_fn(), lookup_member(), NULL_TREE, OVL_CURRENT, OVL_NEXT, push_class_level_binding(), pushdecl_class_level(), TREE_CODE, TREE_TYPE, and TREE_VALUE.
Referenced by dfs_push_decls(), and dfs_push_type_decls().
Definition at line 680 of file search.c.
References canonical_binfo(), and markedp().
Referenced by access_in_type().
| static int shared_member_p | ( | tree | t | ) | [static] |
Definition at line 1255 of file search.c.
References DECL_NONSTATIC_MEMBER_FUNCTION_P, is_overloaded_fn(), OVL_CURRENT, OVL_NEXT, and TREE_CODE.
Referenced by finish_id_expression(), finish_qualified_id_expr(), and lookup_field_r().
Definition at line 692 of file search.c.
References canonical_binfo(), and unmarkedp().
Referenced by access_in_type().
Definition at line 1232 of file search.c.
References CLASSTYPE_TI_TEMPLATE, CLASSTYPE_USE_TEMPLATE, constructor_name(), DECL_ARTIFICIAL, DECL_NAME, PRIMARY_TEMPLATE_P, and TREE_CODE.
Referenced by dfs_push_type_decls(), and lookup_field_r().
Definition at line 1013 of file search.c.
References accessible_p(), DECL_CLASS_SCOPE_P, enforce_access(), error_mark_node, NULL_TREE, TREE_CODE, tree_cons, and type_lookups.
Referenced by lookup_name_real(), make_typename_type(), and make_unbound_class_template().
Definition at line 2953 of file search.c.
References overlap_info::compare_type, dfs_check_overlap(), dfs_no_overlap_yet(), dfs_walk(), overlap_info::found_overlap, IS_AGGR_TYPE, and TYPE_BINFO.
Definition at line 2358 of file search.c.
References BINFO_PUSHDECLS_MARKED, BINFO_TYPE, CLASS_TYPE_P, and NULL_TREE.
Referenced by push_class_decls().
Definition at line 2325 of file search.c.
References BINFO_MARKED, and NULL_TREE.
Referenced by dfs_unmarked_real_bases_queue_p(), get_vbase_types(), shared_unmarked_p(), and unuse_fields().
Definition at line 2784 of file search.c.
References dfs_unuse_fields(), dfs_walk(), TYPE_BINFO, and unmarkedp().
Referenced by dfs_unuse_fields(), and pushclass().
struct obstack search_obstack [static] |
Definition at line 40 of file search.c.
Referenced by init_search_processing(), and push_class_decls().
struct search_level* search_stack [static] |
1.5.6