/openbsd/gnu/usr.bin/gcc/gcc/cp/ |
H A D | dump.c | 267 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 D | friend.c | 97 context = TYPE_CONTEXT (context))
|
H A D | pt.c | 330 ? 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 D | search.c | 275 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 D | cp-tree.def | 186 /* A type designated by `typename T::t'. TYPE_CONTEXT is `T', 195 TYPE_CONTEXT is `T', the template parameter dependent object.
|
H A D | mangle.c | 695 context = TYPE_CONTEXT (TYPE_MAIN_VARIANT (TREE_TYPE (decl))); 1348 && TYPE_CONTEXT (*type) == TYPE_CONTEXT (entity))
|
H A D | init.c | 605 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 D | decl.c | 3014 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 D | dump.c | 254 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 D | friend.c | 108 context = TYPE_CONTEXT (supplicant); in is_friend() 288 tree ctype = TYPE_CONTEXT (friend_type); in make_friend_class()
|
H A D | cp-objcp-common.c | 45 return get_alias_set (TYPE_CONTEXT (t)); in cxx_get_alias_set()
|
H A D | cp-tree.h | 1283 && 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 D | search.c | 176 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 D | pt.c | 281 ? 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 D | cxx-pretty-print.c | 235 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 D | init.c | 593 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 D | name-lookup.c | 4333 && 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 D | mangle.c | 793 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 D | cp-tree.def | 174 /* 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 D | dwarfout.c | 3665 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 D | print-tree.c | 574 if (TYPE_CONTEXT (node)) 575 print_node_brief (file, "context", TYPE_CONTEXT (node), indent + 4);
|
H A D | dwarf2out.c | 10151 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 D | tree-browser.c | 366 && TYPE_CONTEXT (head)) in browse_tree() 367 TB_SET_HEAD (TYPE_CONTEXT (head)); in browse_tree()
|
H A D | dwarf2out.c | 11014 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 D | print-tree.c | 638 if (TYPE_CONTEXT (node)) in print_node() 639 print_node_brief (file, "context", TYPE_CONTEXT (node), indent + 4); in print_node()
|