Home
last modified time | relevance | path

Searched refs:class_type (Results 1 – 25 of 35) sorted by relevance

12

/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dvtable-verify.c326 vtbl_find_mangled_name (tree class_type) in vtbl_find_mangled_name() argument
338 if ((*vtbl_mangled_name_types)[i] == class_type) in vtbl_find_mangled_name()
352 vtbl_register_mangled_name (tree class_type, tree mangled_name) in vtbl_register_mangled_name() argument
364 if (vtbl_find_mangled_name (class_type) == NULL_TREE) in vtbl_register_mangled_name()
366 vec_safe_push (vtbl_mangled_name_types, class_type); in vtbl_register_mangled_name()
374 vtbl_map_get_node (tree class_type) in vtbl_map_get_node() argument
386 gcc_assert (TREE_CODE (class_type) == RECORD_TYPE); in vtbl_map_get_node()
390 class_type_decl = TYPE_NAME (class_type); in vtbl_map_get_node()
449 node->class_info->class_type = base_class_type; in find_or_create_vtbl_map_node()
686 tree class_type = extract_object_class_type in verify_bb_vtables() local
[all …]
H A Dvtable-verify.h75 tree class_type; /* The record_type of the class. */ member
H A Dipa-devirt.c770 odr_type class_type = get_odr_type (DECL_CONTEXT (vtable->decl), true);
772 if (class_type->odr_violated)
793 if (!class_type->rtti_broken
808 class_type->rtti_broken = true;
833 class_type->odr_violated = true;
855 class_type->odr_violated = true;
890 class_type->odr_violated = true;
/dflybsd-src/contrib/gcc-8.0/gcc/cp/
H A Dvtable-class-hierarchy.c657 tree class_type = vtbl_map_nodes_vec[i]->class_info->class_type; in guess_num_vtable_pointers() local
658 for (vtbl = CLASSTYPE_VTABLES (class_type); vtbl; in guess_num_vtable_pointers()
909 tree base_class = current->class_info->class_type; in register_all_pairs()
938 tree class_type = vtbl_class_node->class_info->class_type; in register_all_pairs() local
940 if (class_type in register_all_pairs()
941 && (TREE_CODE (class_type) == RECORD_TYPE)) in register_all_pairs()
945 tree binfo = TYPE_BINFO (class_type); in register_all_pairs()
949 vtable_decl = CLASSTYPE_VTABLES (class_type); in register_all_pairs()
975 register_construction_vtables (base_class, class_type, in register_all_pairs()
1016 output_set_info (current->class_info->class_type, in register_all_pairs()
[all …]
H A Drepo.c363 repo_export_class_p (const_tree class_type) in repo_export_class_p() argument
367 if (!CLASSTYPE_VTABLES (class_type)) in repo_export_class_p()
372 (DECL_ASSEMBLER_NAME (CLASSTYPE_VTABLES (class_type)))); in repo_export_class_p()
H A Ddecl2.c2385 tree class_type = NULL_TREE; in determine_visibility() local
2387 class_type = DECL_CONTEXT (decl); in determine_visibility()
2528 if (class_type) in determine_visibility()
2529 determine_visibility_from_class (decl, class_type); in determine_visibility()
2568 determine_visibility_from_class (tree decl, tree class_type) in determine_visibility_from_class() argument
2578 DECL_VISIBILITY (decl) = CLASSTYPE_VISIBILITY (class_type); in determine_visibility_from_class()
2580 = CLASSTYPE_VISIBILITY_SPECIFIED (class_type); in determine_visibility_from_class()
2594 && !CLASSTYPE_VISIBILITY_SPECIFIED (class_type)) in determine_visibility_from_class()
2845 tree class_type = NULL_TREE; in import_export_decl() local
2925 class_type = DECL_CONTEXT (decl); in import_export_decl()
[all …]
H A Ddecl.c3747 ti.class_p = (tag_type == class_type in build_typename_type()
4752 tree class_type) in warn_misplaced_attr_for_class_type() argument
4754 gcc_assert (OVERLOAD_TYPE_P (class_type)); in warn_misplaced_attr_for_class_type()
4758 "of %q#T", class_type)) in warn_misplaced_attr_for_class_type()
4761 class_type, class_key_or_enum_as_string (class_type)); in warn_misplaced_attr_for_class_type()
9454 build_ptrmem_type (tree class_type, tree member_type) in build_ptrmem_type() argument
9460 member_type = build_memfn_type (member_type, class_type, quals, rqual); in build_ptrmem_type()
9466 return build_offset_type (class_type, member_type); in build_ptrmem_type()
11449 declarator->u.pointer.class_type, in grokdeclarator()
11544 gcc_assert (TREE_CODE (declarator->u.pointer.class_type) in grokdeclarator()
[all …]
H A Dparser.h144 tree class_type; member
H A Dparser.c438 print_node_brief (file, "", default_arg_fn->class_type, 0); in cp_debug_print_unparsed_function()
1508 declarator->u.pointer.class_type = NULL_TREE; in make_pointer_declarator()
1556 make_ptrmem_declarator (cp_cv_quals cv_qualifiers, tree class_type, in make_ptrmem_declarator() argument
1565 declarator->u.pointer.class_type = class_type; in make_ptrmem_declarator()
3823 cp_parser_make_indirect_declarator (enum tree_code code, tree class_type, in cp_parser_make_indirect_declarator() argument
3832 if (class_type == NULL_TREE) in cp_parser_make_indirect_declarator()
3835 return make_ptrmem_declarator (cv_qualifiers, class_type, in cp_parser_make_indirect_declarator()
3837 else if (code == ADDR_EXPR && class_type == NULL_TREE) in cp_parser_make_indirect_declarator()
3840 else if (code == NON_LVALUE_EXPR && class_type == NULL_TREE) in cp_parser_make_indirect_declarator()
6576 type_p ? class_type : none_type, in cp_parser_qualifying_entity()
[all …]
H A Drtti.c172 type_info_type = xref_tag (class_type, get_identifier ("type_info"), in init_rtti_processing()
760 tinfo_ptr = xref_tag (class_type, in build_dynamic_cast_1()
943 real_type = xref_tag (class_type, ti->name, in tinfo_base_init()
H A Dname-lookup.c4432 tree class_type) in set_inherited_value_binding_p() argument
4446 if (is_properly_derived_from (class_type, context)) in set_inherited_value_binding_p()
4524 tree class_type; in get_class_binding() local
4529 class_type = scope->this_entity; in get_class_binding()
4532 type_binding = lookup_member (class_type, name, in get_class_binding()
4536 value_binding = lookup_member (class_type, name, in get_class_binding()
4572 set_inherited_value_binding_p (binding, value_binding, class_type); in get_class_binding()
6220 tree class_type; in lookup_name_real_1() local
6229 class_type = level->this_entity; in lookup_name_real_1()
6230 operators = lookup_fnfields (class_type, name, /*protect=*/0); in lookup_name_real_1()
H A Dmangle.c4303 get_mangled_vtable_map_var_name (tree class_type) in get_mangled_vtable_map_var_name() argument
4309 gcc_assert (TREE_CODE (class_type) == RECORD_TYPE); in get_mangled_vtable_map_var_name()
4311 tree class_id = DECL_ASSEMBLER_NAME (TYPE_NAME (class_type)); in get_mangled_vtable_map_var_name()
4315 class_id = get_mangled_id (TYPE_NAME (class_type)); in get_mangled_vtable_map_var_name()
4316 vtbl_register_mangled_name (TYPE_NAME (class_type), class_id); in get_mangled_vtable_map_var_name()
H A Dfriend.c369 = make_typename_type (ctype, name, class_type, tf_error); in make_friend_class()
/dflybsd-src/contrib/gcc-4.7/gcc/cp/
H A Ddecl2.c2043 tree class_type = NULL_TREE; in determine_visibility() local
2079 class_type = DECL_CONTEXT (decl); in determine_visibility()
2202 if (args && depth > template_class_depth (class_type)) in determine_visibility()
2208 if (class_type) in determine_visibility()
2209 determine_visibility_from_class (decl, class_type); in determine_visibility()
2248 determine_visibility_from_class (tree decl, tree class_type) in determine_visibility_from_class() argument
2258 DECL_VISIBILITY (decl) = CLASSTYPE_VISIBILITY (class_type); in determine_visibility_from_class()
2260 = CLASSTYPE_VISIBILITY_SPECIFIED (class_type); in determine_visibility_from_class()
2274 && !CLASSTYPE_VISIBILITY_SPECIFIED (class_type)) in determine_visibility_from_class()
2374 tree class_type = NULL_TREE; in import_export_decl() local
[all …]
H A Drepo.c366 repo_export_class_p (const_tree class_type) in repo_export_class_p() argument
370 if (!CLASSTYPE_VTABLES (class_type)) in repo_export_class_p()
375 (DECL_ASSEMBLER_NAME (CLASSTYPE_VTABLES (class_type)))); in repo_export_class_p()
H A Ddecl.c3142 ti.class_p = (tag_type == class_type in build_typename_type()
7801 build_ptrmem_type (tree class_type, tree member_type) in build_ptrmem_type() argument
7806 member_type = build_memfn_type (member_type, class_type, quals); in build_ptrmem_type()
7812 return build_offset_type (class_type, member_type); in build_ptrmem_type()
9382 declarator->u.pointer.class_type, in grokdeclarator()
9474 gcc_assert (TREE_CODE (declarator->u.pointer.class_type) in grokdeclarator()
9476 if (declarator->u.pointer.class_type == error_mark_node) in grokdeclarator()
9480 type = build_ptrmem_type (declarator->u.pointer.class_type, in grokdeclarator()
10927 tree class_type; in grok_special_member_properties() local
10932 class_type = DECL_CONTEXT (decl); in grok_special_member_properties()
[all …]
H A Dparser.h153 tree class_type; member
H A Dparser.c403 print_node_brief (file, "", default_arg_fn->class_type, 0); in cp_debug_print_unparsed_function()
1292 declarator->u.pointer.class_type = NULL_TREE; in make_pointer_declarator()
1333 make_ptrmem_declarator (cp_cv_quals cv_qualifiers, tree class_type, in make_ptrmem_declarator() argument
1341 declarator->u.pointer.class_type = class_type; in make_ptrmem_declarator()
3223 cp_parser_make_indirect_declarator (enum tree_code code, tree class_type, in cp_parser_make_indirect_declarator() argument
3231 if (class_type == NULL_TREE) in cp_parser_make_indirect_declarator()
3234 return make_ptrmem_declarator (cv_qualifiers, class_type, target); in cp_parser_make_indirect_declarator()
3235 else if (code == ADDR_EXPR && class_type == NULL_TREE) in cp_parser_make_indirect_declarator()
3237 else if (code == NON_LVALUE_EXPR && class_type == NULL_TREE) in cp_parser_make_indirect_declarator()
5256 type_p ? class_type : none_type, in cp_parser_qualifying_entity()
[all …]
H A Drtti.c152 type_info_type = xref_tag (class_type, get_identifier ("type_info"), in init_rtti_processing()
728 tinfo_ptr = xref_tag (class_type, in build_dynamic_cast_1()
906 real_type = xref_tag (class_type, ti->name, in tinfo_base_init()
1489 bltn_type = xref_tag (class_type, in emit_support_tinfos()
H A Dsearch.c1316 lookup_conversion_operator (tree class_type, tree type) in lookup_conversion_operator() argument
1320 if (TYPE_HAS_CONVERSION (class_type)) in lookup_conversion_operator()
1324 VEC(tree,gc) *methods = CLASSTYPE_METHOD_VEC (class_type); in lookup_conversion_operator()
1500 class_method_index_for_fn (tree class_type, tree function) in class_method_index_for_fn() argument
1505 return lookup_fnfields_1 (class_type, in class_method_index_for_fn()
H A Dname-lookup.c2879 tree class_type) in set_inherited_value_binding_p() argument
2893 if (is_properly_derived_from (class_type, context)) in set_inherited_value_binding_p()
2961 tree class_type; in get_class_binding() local
2966 class_type = scope->this_entity; in get_class_binding()
2969 type_binding = lookup_member (class_type, name, in get_class_binding()
2973 value_binding = lookup_member (class_type, name, in get_class_binding()
3009 set_inherited_value_binding_p (binding, value_binding, class_type); in get_class_binding()
4632 tree class_type; in lookup_name_real_1() local
4641 class_type = level->this_entity; in lookup_name_real_1()
4642 operators = lookup_fnfields (class_type, name, /*protect=*/0); in lookup_name_real_1()
H A Dfriend.c313 = make_typename_type (ctype, name, class_type, tf_error); in make_friend_class()
/dflybsd-src/contrib/binutils-2.27/binutils/
H A Dstabs.c2769 debug_type class_type, return_type; in parse_stab_members() local
2771 class_type = stab_find_type (dhandle, info, typenums); in parse_stab_members()
2772 if (class_type == DEBUG_TYPE_NULL) in parse_stab_members()
2780 type = parse_stab_argtypes (dhandle, info, class_type, name, in parse_stab_members()
2856 debug_type class_type, const char *fieldname, in parse_stab_argtypes() argument
2956 return debug_make_method_type (dhandle, return_type, class_type, args, in parse_stab_argtypes()
2964 return debug_make_method_type (dhandle, return_type, class_type, args, in parse_stab_argtypes()
4692 debug_type class_type = DEBUG_TYPE_NULL; in stab_demangle_type() local
4716 class_type = stab_find_tagged_type (minfo->dhandle, in stab_demangle_type()
4720 if (class_type == DEBUG_TYPE_NULL) in stab_demangle_type()
[all …]
/dflybsd-src/contrib/binutils-2.34/binutils/
H A Dstabs.c2888 debug_type class_type, return_type; in parse_stab_members() local
2890 class_type = stab_find_type (dhandle, info, typenums); in parse_stab_members()
2891 if (class_type == DEBUG_TYPE_NULL) in parse_stab_members()
2899 type = parse_stab_argtypes (dhandle, info, class_type, name, in parse_stab_members()
2975 debug_type class_type, const char *fieldname, in parse_stab_argtypes() argument
3063 return debug_make_method_type (dhandle, return_type, class_type, args, in parse_stab_argtypes()
3071 return debug_make_method_type (dhandle, return_type, class_type, args, in parse_stab_argtypes()
4813 debug_type class_type = DEBUG_TYPE_NULL; in stab_demangle_type() local
4837 class_type = stab_find_tagged_type (minfo->dhandle, in stab_demangle_type()
4841 if (class_type == DEBUG_TYPE_NULL) in stab_demangle_type()
[all …]
/dflybsd-src/contrib/gdb-7/gdb/
H A Dvalops.c733 struct type *class_type, *rtti_type; in value_dynamic_cast() local
745 class_type = check_typedef (TYPE_TARGET_TYPE (resolved_type)); in value_dynamic_cast()
773 if (class_types_same_p (class_type, arg_type)) in value_dynamic_cast()
778 if (is_ancestor (class_type, arg_type)) in value_dynamic_cast()
780 if (is_unique_ancestor (class_type, arg)) in value_dynamic_cast()

12