| /freebsd-12.1/contrib/gcc/cp/ |
| H A D | friend.c | 445 int class_template_depth = template_class_depth (current_class_type); in do_friend() 492 add_friend (current_class_type, decl, /*complain=*/true); in do_friend() 510 SET_DECL_FRIEND_CONTEXT (decl, current_class_type); in do_friend() 523 || template_class_depth (current_class_type) != 0) in do_friend() 567 add_friend (current_class_type, in do_friend()
|
| H A D | method.c | 543 if (TYPE_HAS_TRIVIAL_INIT_REF (current_class_type) in do_build_copy_constructor() 544 && is_empty_class (current_class_type)) in do_build_copy_constructor() 547 else if (TYPE_HAS_TRIVIAL_INIT_REF (current_class_type)) in do_build_copy_constructor() 554 tree fields = TYPE_FIELDS (current_class_type); in do_build_copy_constructor() 566 for (vbases = CLASSTYPE_VBASECLASSES (current_class_type), i = 0; in do_build_copy_constructor() 577 for (binfo = TYPE_BINFO (current_class_type), i = 0; in do_build_copy_constructor() 644 if (TYPE_HAS_TRIVIAL_ASSIGN_REF (current_class_type) in do_build_assign_ref() 645 && is_empty_class (current_class_type)) in do_build_assign_ref() 648 else if (TYPE_HAS_TRIVIAL_ASSIGN_REF (current_class_type)) in do_build_assign_ref() 661 for (binfo = TYPE_BINFO (current_class_type), i = 0; in do_build_assign_ref() [all …]
|
| H A D | init.c | 668 if (!COMPLETE_TYPE_P (current_class_type)) in emit_mem_initializers() 967 current_class_type); in expand_member_init() 975 current_class_type); in expand_member_init() 999 class_binfo = TYPE_BINFO (current_class_type); in expand_member_init() 1027 if (CLASSTYPE_VBASECLASSES (current_class_type)) in expand_member_init() 1029 basetype, current_class_type); in expand_member_init() 1032 basetype, current_class_type); in expand_member_init() 1041 field = lookup_field (current_class_type, name, 1, false); in expand_member_init() 2877 if (CLASSTYPE_VBASECLASSES (current_class_type)) in push_base_cleanups() 2905 for (binfo = TYPE_BINFO (current_class_type), i = 0; in push_base_cleanups() [all …]
|
| H A D | name-lookup.c | 981 member = lookup_member (current_class_type, in pushdecl_maybe_friend() 2314 || !same_type_p (current_class_type, t)) in push_scope() 2685 && DECL_CONTEXT (x) != current_class_type)) in push_class_level_binding() 2828 scope, name, current_class_type); in do_class_using_decl() 3009 if (current_class_type) in current_decl_namespace() 3987 if (current_class_type == NULL_TREE) in lookup_name_real() 4046 gcc_assert (current_class_type && in lookup_name_real() 4047 LOCAL_CLASS_P (current_class_type)); in lookup_name_real() 4822 if (!COMPLETE_TYPE_P (current_class_type)) in maybe_process_template_type_declaration() 4966 && !COMPLETE_TYPE_P (current_class_type)) in pushtag() [all …]
|
| H A D | semantics.c | 1540 && DERIVED_FROM_P (scope, current_class_type)) in check_accessibility_of_qualified_id() 1541 qualifying_type = current_class_type; in check_accessibility_of_qualified_id() 1619 && current_class_type in finish_qualified_id_expr() 1848 if (current_class_type in finish_call_expr() 1850 current_class_type) in finish_call_expr() 2283 DECL_CONTEXT (decl) = current_class_type; in finish_member_declaration() 2303 TYPE_METHODS (current_class_type) = decl; in finish_member_declaration() 2331 TYPE_FIELDS (current_class_type) in finish_member_declaration() 2336 TYPE_FIELDS (current_class_type) = decl; in finish_member_declaration() 2918 (decl, scope, current_class_type)); in finish_id_expression() [all …]
|
| H A D | decl.c | 3734 && (!current_class_type in check_tag_decl() 5598 if (current_class_type in cp_finish_decl() 6554 == current_class_type); in grokfndecl() 7562 && current_class_type in grokdeclarator() 7564 current_class_type)) in grokdeclarator() 8217 current_class_type, in grokdeclarator() 8461 if (current_class_type in grokdeclarator() 8480 && current_class_type) in grokdeclarator() 8779 if (current_class_type) in grokdeclarator() 9025 if (current_class_type in grokdeclarator() [all …]
|
| H A D | search.c | 516 if (current_function_decl && current_class_type in current_scope() 519 current_class_type)) in current_scope() 522 current_class_type)))) in current_scope() 524 if (current_class_type) in current_scope() 525 return current_class_type; in current_scope() 915 if (current_class_type) in accessible_p() 917 current_class_type, binfo); in accessible_p()
|
| H A D | tree.c | 1699 if (current_class_type in maybe_dummy_object() 1700 && (binfo = lookup_base (current_class_type, type, in maybe_dummy_object() 1702 context = current_class_type; in maybe_dummy_object() 1713 if (current_class_ref && context == current_class_type in maybe_dummy_object() 1718 current_class_type)) in maybe_dummy_object()
|
| H A D | class.c | 360 t = TREE_TYPE (TYPE_VFIELD (current_class_type)); in build_base_path() 5262 if (current_class_type) in finish_struct() 5514 csn->type = current_class_type; in pushclass() 5524 current_class_type = type; in pushclass() 5606 c = current_class_type; in currently_open_class() 5634 if (!current_class_type) in currently_open_derived_class() 5637 if (DERIVED_FROM_P (t, current_class_type)) in currently_open_derived_class() 5638 return current_class_type; in currently_open_derived_class() 6248 DECL_CONTEXT (value) = current_class_type; in build_self_reference() 6319 && TYPE_BEING_DEFINED (current_class_type))) in maybe_note_name_used_in_class() [all …]
|
| H A D | decl2.c | 716 DECL_CONTEXT (decl) = current_class_type; in finish_static_data_member_decl() 725 if (LOCAL_CLASS_P (current_class_type)) in finish_static_data_member_decl() 727 current_class_type, decl); in finish_static_data_member_decl() 791 && DECL_CONTEXT (value) != current_class_type) in grokfield() 804 DECL_CONTEXT (value) = current_class_type; in grokfield() 3090 if (! global_bindings_p () || current_class_type || decl_namespace_list) in cp_finish_file()
|
| H A D | pt.c | 2871 if (current_class_type in check_default_tmpl_args() 2872 && !TYPE_BEING_DEFINED (current_class_type) in check_default_tmpl_args() 2877 ? same_type_p (DECL_CONTEXT (decl), current_class_type) in check_default_tmpl_args() 2879 ? same_type_p (DECL_FRIEND_CONTEXT (decl), current_class_type) in check_default_tmpl_args() 2950 if (current_class_type && TYPE_BEING_DEFINED (current_class_type)) in check_default_tmpl_args() 2959 last_level_to_check = template_class_depth (current_class_type) + 1; in check_default_tmpl_args() 3275 && !(is_friend && template_class_depth (current_class_type) > 0)) in push_template_decl_real() 4735 for (ctx = current_class_type; in lookup_template_class() 5325 tree ns = decl_namespace_context (TYPE_MAIN_DECL (current_class_type)); in tsubst_friend_function() 7908 object_type = current_class_type; in tsubst_baselink() [all …]
|
| H A D | parser.c | 2249 if (processing_template_decl && current_class_type in cp_parser_diagnose_invalid_type_name() 2250 && TYPE_BINFO (current_class_type)) in cp_parser_diagnose_invalid_type_name() 2254 for (b = TREE_CHAIN (TYPE_BINFO (current_class_type)); in cp_parser_diagnose_invalid_type_name() 12310 class_type = current_class_type; in cp_parser_direct_declarator() 12764 if (in_system_header && current_class_type == NULL in cp_parser_parameter_declaration_clause() 13051 && TYPE_BEING_DEFINED (current_class_type)) in cp_parser_parameter_declaration() 14056 class_type = current_class_type; in cp_parser_class_head() 14365 make_friend_class (current_class_type, type, in cp_parser_member_declaration() 15549 type = current_class_type; in cp_parser_lookup_name() 16009 if (current_class_type) in cp_parser_constructor_declarator_p() [all …]
|
| H A D | ChangeLog-1998 | 1528 (current_class_type): Remove duplicate declaration. 2415 current_class_type; use the TREE_TYPE of the binfo instead. 3323 current_class_type. Don't display error message when COMPLAIN is 4045 current_class_type. 4100 IDENTIFIER_CLASS_VALUE when there's no current_class_type. 4952 (pushtag): Remove check of current_class_type and some comments,
|
| H A D | ChangeLog-1996 | 392 current_class_type is NULL. 660 current_class_type. Set CLASSTYPE_GOT_SEMICOLON. 2360 TYPE_NESTED_NAME (current_class_type) instead of
|
| H A D | ChangeLog-1994 | 3422 current_class_type. 3480 * decl.c (lookup_name): if (got_scope == current_class_type) 4779 search is an accessible base class of current_class_type. 5078 current_class_type and current_function_decl is the most nested.
|
| H A D | cp-tree.h | 693 #define current_class_type scope_chain->class_type macro
|
| H A D | call.c | 5292 vtt = TREE_CHAIN (CLASSTYPE_VTABLES (current_class_type)); in build_special_member_call()
|
| H A D | typeck.c | 4447 if (current_class_type in build_unary_op()
|
| H A D | ChangeLog-1997 | 392 (lookup_name_real): Use it. Use current_class_type as the context.
|
| H A D | ChangeLog-2003 | 608 current_class_type is NULL_TREE. 855 * pt.c (lookup_template_class): Handle when current_class_type
|
| H A D | ChangeLog-1999 | 2652 (current_class_type): Likewise. 2689 current_class_type, current_access_specifier, current_lang_stack,
|
| H A D | ChangeLog | 5491 a member by looking at its DECL_CONTEXT, not current_class_type. 6326 Check TYPE_BINFO (current_class_type) before attempting
|
| H A D | ChangeLog-2002 | 3315 * tree.c (maybe_dummy_object): Kludge around current_class_type being
|
| H A D | ChangeLog-1995 | 3053 constructor_name (current_class_type) instead of current_class_name.
|
| /freebsd-12.1/contrib/gcc/config/arm/ |
| H A D | pe.c | 40 tree current_class_type; /* FIXME */ variable
|