Searched refs:current_class_type (Results 1 - 16 of 16) sorted by relevance

/freebsd-11.0-release/contrib/gcc/cp/
H A Dfriend.c445 int class_template_depth = template_class_depth (current_class_type);
492 add_friend (current_class_type, decl, /*complain=*/true);
510 SET_DECL_FRIEND_CONTEXT (decl, current_class_type);
523 || template_class_depth (current_class_type) != 0)
567 add_friend (current_class_type,
H A Dmethod.c545 if (TYPE_HAS_TRIVIAL_INIT_REF (current_class_type)
546 && is_empty_class (current_class_type))
549 else if (TYPE_HAS_TRIVIAL_INIT_REF (current_class_type))
556 tree fields = TYPE_FIELDS (current_class_type);
565 another constructor that takes current_class_type. We must
568 for (vbases = CLASSTYPE_VBASECLASSES (current_class_type), i = 0;
579 for (binfo = TYPE_BINFO (current_class_type), i = 0;
646 if (TYPE_HAS_TRIVIAL_ASSIGN_REF (current_class_type)
647 && is_empty_class (current_class_type))
650 else if (TYPE_HAS_TRIVIAL_ASSIGN_REF (current_class_type))
[all...]
H A Dinit.c668 if (!COMPLETE_TYPE_P (current_class_type))
673 mem_inits = sort_mem_initializers (current_class_type, mem_inits);
963 switch (BINFO_N_BASE_BINFOS (TYPE_BINFO (current_class_type)))
967 current_class_type);
971 (BINFO_BASE_BINFO (TYPE_BINFO (current_class_type), 0));
975 current_class_type);
999 class_binfo = TYPE_BINFO (current_class_type);
1011 virtual_binfo = binfo_for_vbase (basetype, current_class_type);
1027 if (CLASSTYPE_VBASECLASSES (current_class_type))
1029 basetype, current_class_type);
[all...]
H A Dsemantics.c101 3. The global `current_class_type' or `current_function_decl' is then
1540 && DERIVED_FROM_P (scope, current_class_type))
1541 qualifying_type = current_class_type;
1619 && current_class_type
1620 && DERIVED_FROM_P (qualifying_class, current_class_type))
1848 if (current_class_type
1850 current_class_type)
2283 DECL_CONTEXT (decl) = current_class_type;
2300 if (add_method (current_class_type, decl, NULL_TREE))
2302 TREE_CHAIN (decl) = TYPE_METHODS (current_class_type);
[all...]
H A Dname-lookup.c982 member = lookup_member (current_class_type,
2317 || !same_type_p (current_class_type, t))
2454 class_binding_level = begin_scope (sk_class, current_class_type);
2656 gcc_assert (TYPE_BEING_DEFINED (current_class_type));
2689 && DECL_CONTEXT (x) != current_class_type))
2690 && DECL_NAME (x) == constructor_name (current_class_type))
2693 if (TYPE_P (scope) && same_type_p (scope, current_class_type))
2829 if (constructor_name_p (name, current_class_type))
2832 scope, name, current_class_type);
2843 for (binfo = TYPE_BINFO (current_class_type),
[all...]
H A Ddecl.c3744 && (!current_class_type
3745 || current_scope () != current_class_type))
5609 if (current_class_type
5610 && CP_DECL_CONTEXT (decl) == current_class_type
5611 && TYPE_BEING_DEFINED (current_class_type)
6568 == current_class_type);
7499 tree ctype = current_class_type;
7576 && current_class_type
7578 current_class_type))
7581 ctype, current_class_type);
[all...]
H A Dsearch.c504 current_class_type current_function_decl
518 if (current_function_decl && current_class_type
521 current_class_type))
524 current_class_type))))
526 if (current_class_type)
527 return current_class_type;
917 if (current_class_type)
919 current_class_type, binfo);
H A Dclass.c360 t = TREE_TYPE (TYPE_VFIELD (current_class_type));
2517 /* Add T to CLASSTYPE_DECL_LIST of current_class_type which
5266 if (current_class_type)
5520 csn->type = current_class_type;
5530 current_class_type = type;
5574 current_class_type = current_class_stack[current_class_depth].type;
5612 c = current_class_type;
5627 /* If either current_class_type or one of its enclosing classes are derived
5640 if (!current_class_type)
5643 if (DERIVED_FROM_P (t, current_class_type))
[all...]
H A Dtree.c1698 binfo path from current_class_type to TYPE, or 0. */
1706 if (current_class_type
1707 && (binfo = lookup_base (current_class_type, type,
1709 context = current_class_type;
1720 if (current_class_ref && context == current_class_type
1721 /* Kludge: Make sure that current_class_type is actually
1725 current_class_type))
H A Ddecl2.c717 DECL_CONTEXT (decl) = current_class_type;
726 if (LOCAL_CLASS_P (current_class_type))
728 current_class_type, decl);
792 && DECL_CONTEXT (value) != current_class_type)
805 DECL_CONTEXT (value) = current_class_type;
3095 if (! global_bindings_p () || current_class_type || decl_namespace_list)
H A Dpt.c270 that, for example, `template_class_depth (current_class_type)' is
2871 if (current_class_type
2872 && !TYPE_BEING_DEFINED (current_class_type)
2877 ? same_type_p (DECL_CONTEXT (decl), current_class_type)
2879 ? same_type_p (DECL_FRIEND_CONTEXT (decl), current_class_type)
2950 if (current_class_type && TYPE_BEING_DEFINED (current_class_type))
2959 last_level_to_check = template_class_depth (current_class_type) + 1;
3275 && !(is_friend && template_class_depth (current_class_type) > 0))
4454 TEMPLATE_DECL. If DECL is a TYPE_DECL for current_class_type,
[all...]
H A Dparser.c2251 if (processing_template_decl && current_class_type
2252 && TYPE_BINFO (current_class_type))
2256 for (b = TREE_CHAIN (TYPE_BINFO (current_class_type));
12312 class_type = current_class_type;
12766 if (in_system_header && current_class_type == NULL
13053 && TYPE_BEING_DEFINED (current_class_type))
14058 class_type = current_class_type;
14367 make_friend_class (current_class_type, type,
15551 type = current_class_type;
15956 (!at_class_scope_p () || !TYPE_BEING_DEFINED (current_class_type)
[all...]
H A Dcp-tree.h695 #define current_class_type scope_chain->class_type
693 #define current_class_type macro
H A Dcall.c5292 vtt = TREE_CHAIN (CLASSTYPE_VTABLES (current_class_type));
H A Dtypeck.c4456 if (current_class_type
/freebsd-11.0-release/contrib/gcc/config/arm/
H A Dpe.c41 tree current_class_type; /* FIXME */
40 tree current_class_type; /* FIXME */ variable

Completed in 411 milliseconds