Home
last modified time | relevance | path

Searched refs:TYPE_CONTEXT (Results 1 – 25 of 65) sorted by relevance

123

/openbsd/gnu/usr.bin/gcc/gcc/cp/
H A Ddump.c267 if (TYPE_CONTEXT (t) && TREE_CODE (TYPE_CONTEXT (t)) == TREE_CODE (t)
268 && CLASSTYPE_AS_BASE (TYPE_CONTEXT (t)) == t)
270 dump_child ("bfld", TYPE_CONTEXT (t));
H A Dfriend.c97 context = TYPE_CONTEXT (context))
H A Dpt.c330 ? CP_DECL_CONTEXT (type) : TYPE_CONTEXT (type))
847 && TYPE_CONTEXT (TREE_VALUE (t)) == context)
1890 = template_class_depth_real (TYPE_CONTEXT (type),
2897 current = TYPE_CONTEXT (current);
4416 TYPE_CONTEXT (t) = FROB_CONTEXT (context);
4419 DECL_CONTEXT (type_decl) = TYPE_CONTEXT (t);
5405 complete_type (TYPE_CONTEXT (type));
5411 tree context = TYPE_CONTEXT (type);
5845 if (TYPE_CONTEXT (t) != NULL_TREE)
5846 context = tsubst_aggr_type (TYPE_CONTEXT (t), args,
[all …]
H A Dsearch.c275 t = TYPE_CONTEXT (t); in accessible_base_p()
626 context = TYPE_CONTEXT (context);
969 for (t = TYPE_CONTEXT (scope); t && TYPE_P (t); t = TYPE_CONTEXT (t))
H A Dcp-tree.def186 /* A type designated by `typename T::t'. TYPE_CONTEXT is `T',
195 TYPE_CONTEXT is `T', the template parameter dependent object.
H A Dmangle.c695 context = TYPE_CONTEXT (TYPE_MAIN_VARIANT (TREE_TYPE (decl)));
1348 && TYPE_CONTEXT (*type) == TYPE_CONTEXT (entity))
H A Dinit.c605 field_type = TYPE_CONTEXT (field_type)) in sort_mem_initializers()
649 last_field_type = TYPE_CONTEXT (last_field_type); in sort_mem_initializers()
657 field_type = TYPE_CONTEXT (field_type); in sort_mem_initializers()
914 t = TYPE_CONTEXT (t);
H A Ddecl.c3014 tree context = TYPE_CONTEXT (type);
3064 TYPE_CONTEXT (type) = DECL_CONTEXT (d);
3071 if (TYPE_CONTEXT (type)
3072 && TREE_CODE (TYPE_CONTEXT (type)) == FUNCTION_DECL
5907 hash = (htab_hash_pointer (TYPE_CONTEXT (t))
5931 && TYPE_CONTEXT (t1) == TYPE_CONTEXT (t2)
5967 TYPE_CONTEXT (t) = FROB_CONTEXT (context);
6181 TYPE_CONTEXT (t) = FROB_CONTEXT (context);
12201 TYPE_CONTEXT (type), TYPENAME_TYPE_FULLNAME (type));
13731 context = TYPE_CONTEXT (ref); in xref_tag()
[all …]
/openbsd/gnu/gcc/gcc/cp/
H A Ddump.c254 if (TYPE_CONTEXT (t) && TREE_CODE (TYPE_CONTEXT (t)) == TREE_CODE (t) in cp_dump_tree()
255 && CLASSTYPE_AS_BASE (TYPE_CONTEXT (t)) == t) in cp_dump_tree()
257 dump_child ("bfld", TYPE_CONTEXT (t)); in cp_dump_tree()
H A Dfriend.c108 context = TYPE_CONTEXT (supplicant); in is_friend()
288 tree ctype = TYPE_CONTEXT (friend_type); in make_friend_class()
H A Dcp-objcp-common.c45 return get_alias_set (TYPE_CONTEXT (t)); in cxx_get_alias_set()
H A Dcp-tree.h1283 && TYPE_CONTEXT (NODE) && CLASS_TYPE_P (TYPE_CONTEXT (NODE)) \
1284 && CLASSTYPE_AS_BASE (TYPE_CONTEXT (NODE)) == (NODE))
1971 (TYPE_CONTEXT (NODE) ? TYPE_CONTEXT (NODE) : global_namespace)
1987 (TYPE_CONTEXT (NODE) && TYPE_P (TYPE_CONTEXT (NODE)))
1995 (TYPE_CONTEXT (NODE) \
1996 && TREE_CODE (TYPE_CONTEXT (NODE)) == FUNCTION_DECL)
H A Dsearch.c176 t = TYPE_CONTEXT (t); in accessible_base_p()
574 context = TYPE_CONTEXT (context); in context_for_name_lookup()
798 for (t = TYPE_CONTEXT (scope); t && TYPE_P (t); t = TYPE_CONTEXT (t)) in friend_accessible_p()
H A Dpt.c281 ? CP_DECL_CONTEXT (type) : TYPE_CONTEXT (type)) in template_class_depth()
700 context = TYPE_CONTEXT (type); in maybe_process_partial_specialization()
770 && TYPE_CONTEXT (TREE_VALUE (t)) == context) in maybe_process_partial_specialization()
1050 context = TYPE_CONTEXT (context); in is_specialization_of_friend()
3263 current = TYPE_CONTEXT (current); in push_template_decl_real()
4738 ? TYPE_CONTEXT (ctx) in lookup_template_class()
4819 TYPE_CONTEXT (t) = FROB_CONTEXT (context); in lookup_template_class()
5783 tree context = TYPE_CONTEXT (type); in instantiate_class_template()
6287 context = TYPE_CONTEXT (t); in tsubst_aggr_type()
12754 scope = TYPE_CONTEXT (type); in dependent_type_p_r()
[all …]
H A Dcxx-pretty-print.c235 tree scope = TYPE_P (t) ? TYPE_CONTEXT (t) : DECL_CONTEXT (t); in pp_cxx_nested_name_specifier()
283 tree scope = TYPE_P (t) ? TYPE_CONTEXT (t) : DECL_CONTEXT (t); in pp_cxx_qualified_id()
1086 pp_cxx_nested_name_specifier (pp, TYPE_CONTEXT (t)); in pp_cxx_simple_type_specifier()
H A Dinit.c593 field_type = TYPE_CONTEXT (field_type)) in sort_mem_initializers()
637 last_field_type = TYPE_CONTEXT (last_field_type); in sort_mem_initializers()
645 field_type = TYPE_CONTEXT (field_type); in sort_mem_initializers()
896 t = TYPE_CONTEXT (t); in initializing_context()
H A Dname-lookup.c4333 && TYPE_CONTEXT (type) in friend_of_associated_class_p()
4334 && CLASS_TYPE_P (TYPE_CONTEXT (type)) in friend_of_associated_class_p()
4335 && is_friend (TYPE_CONTEXT (type), fn)) in friend_of_associated_class_p()
4833 tree context = TYPE_CONTEXT (type); in pushtag()
4897 TYPE_CONTEXT (type) = DECL_CONTEXT (decl); in pushtag()
4905 if (TYPE_CONTEXT (type) in pushtag()
4906 && TREE_CODE (TYPE_CONTEXT (type)) == FUNCTION_DECL) in pushtag()
H A Dmangle.c793 context = TYPE_CONTEXT (TYPE_MAIN_VARIANT (TREE_TYPE (decl))); in write_name()
1443 && TYPE_CONTEXT (type) == TYPE_CONTEXT (entity)) in discriminator_for_local_entity()
H A Dcp-tree.def174 /* A type designated by `typename T::t'. TYPE_CONTEXT is `T',
192 TYPE_CONTEXT is `T', the template parameter dependent object.
/openbsd/gnu/usr.bin/gcc/gcc/
H A Ddwarfout.c3665 member_attribute (TYPE_CONTEXT (type));
3692 member_attribute (TYPE_CONTEXT (type));
3783 member_attribute (TYPE_CONTEXT (type));
4080 member_attribute (TYPE_CONTEXT (type));
4093 member_attribute (TYPE_CONTEXT (type));
4107 member_attribute (TYPE_CONTEXT (type));
4172 member_attribute (TYPE_CONTEXT (type));
4589 ? (TYPE_CONTEXT (type) == scope
4714 if (TYPE_CONTEXT (type)
4715 && TYPE_P (TYPE_CONTEXT (type))
[all …]
H A Dprint-tree.c574 if (TYPE_CONTEXT (node))
575 print_node_brief (file, "context", TYPE_CONTEXT (node), indent + 4);
H A Ddwarf2out.c10151 containing_scope = TYPE_CONTEXT (t);
11506 if (TYPE_CONTEXT (type) != NULL_TREE
11507 && AGGREGATE_TYPE_P (TYPE_CONTEXT (type)))
11747 if (TYPE_CONTEXT (type)
11748 && AGGREGATE_TYPE_P (TYPE_CONTEXT (type))
11749 && ! TREE_ASM_WRITTEN (TYPE_CONTEXT (type)))
11751 gen_type_die (TYPE_CONTEXT (type), context_die);
11757 push_decl_scope (TYPE_CONTEXT (type));
11758 context_die = lookup_type_die (TYPE_CONTEXT (type));
12789 && (context = TYPE_CONTEXT (node->created_for))))
/openbsd/gnu/gcc/gcc/
H A Dtree-browser.c366 && TYPE_CONTEXT (head)) in browse_tree()
367 TB_SET_HEAD (TYPE_CONTEXT (head)); in browse_tree()
H A Ddwarf2out.c11014 containing_scope = TYPE_CONTEXT (t); in scope_die_for()
12456 if (TYPE_CONTEXT (type) != NULL_TREE in gen_struct_or_union_type_die()
12673 if (TYPE_CONTEXT (type) in gen_type_die()
12674 && AGGREGATE_TYPE_P (TYPE_CONTEXT (type)) in gen_type_die()
12675 && ! TREE_ASM_WRITTEN (TYPE_CONTEXT (type))) in gen_type_die()
12683 push_decl_scope (TYPE_CONTEXT (type)); in gen_type_die()
13015 if (TYPE_CONTEXT (type)) in force_type_die()
13017 if (TYPE_P (TYPE_CONTEXT (type))) in force_type_die()
13350 if (TYPE_CONTEXT (type)) in dwarf2out_imported_module_or_decl()
13351 if (TYPE_P (TYPE_CONTEXT (type))) in dwarf2out_imported_module_or_decl()
[all …]
H A Dprint-tree.c638 if (TYPE_CONTEXT (node)) in print_node()
639 print_node_brief (file, "context", TYPE_CONTEXT (node), indent + 4); in print_node()

123