Home
last modified time | relevance | path

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

12

/dragonfly/contrib/gcc-4.7/gcc/cp/
H A Dfriend.c457 int class_template_depth = template_class_depth (current_class_type); in do_friend()
504 add_friend (current_class_type, decl, /*complain=*/true); in do_friend()
522 SET_DECL_FRIEND_CONTEXT (decl, current_class_type); in do_friend()
535 || template_class_depth (current_class_type) != 0) in do_friend()
594 add_friend (current_class_type, in do_friend()
H A Dinit.c508 tree type = current_class_type; in perform_target_ctor()
1027 if (!COMPLETE_TYPE_P (current_class_type)) in emit_mem_initializers()
1341 current_class_type); in expand_member_init()
1349 current_class_type); in expand_member_init()
1370 if (same_type_p (basetype, current_class_type) in expand_member_init()
1374 class_binfo = TYPE_BINFO (current_class_type); in expand_member_init()
1402 if (CLASSTYPE_VBASECLASSES (current_class_type)) in expand_member_init()
1404 basetype, current_class_type); in expand_member_init()
1407 basetype, current_class_type); in expand_member_init()
3811 if (CLASSTYPE_VBASECLASSES (current_class_type)) in push_base_cleanups()
[all …]
H A Dname-lookup.c1191 member = lookup_member (current_class_type, in pushdecl_maybe_friend_1()
2695 || !same_type_p (current_class_type, t)) in push_scope()
3073 && DECL_CONTEXT (x) != current_class_type)) in push_class_level_binding_1()
3246 scope, name, current_class_type); in do_class_using_decl()
3486 if (current_class_type) in current_decl_namespace()
4654 if (current_class_type == NULL_TREE) in lookup_name_real_1()
5643 if (!COMPLETE_TYPE_P (current_class_type)) in maybe_process_template_type_declaration()
5649 CLASSTYPE_NESTED_UTDS (current_class_type) = in maybe_process_template_type_declaration()
5757 if (!TYPE_BEING_DEFINED (current_class_type)) in pushtag_1()
5792 && !COMPLETE_TYPE_P (current_class_type)) in pushtag_1()
[all …]
H A Dmethod.c494 && is_empty_class (current_class_type)) in do_build_copy_constructor()
504 tree fields = TYPE_FIELDS (current_class_type); in do_build_copy_constructor()
517 for (vbases = CLASSTYPE_VBASECLASSES (current_class_type), i = 0; in do_build_copy_constructor()
530 for (binfo = TYPE_BINFO (current_class_type), i = 0; in do_build_copy_constructor()
606 && is_empty_class (current_class_type)) in do_build_copy_assign()
622 for (binfo = TYPE_BINFO (current_class_type), i = 0; in do_build_copy_assign()
647 for (fields = TYPE_FIELDS (current_class_type); in do_build_copy_assign()
H A Ddecl.c4199 && (!current_class_type in check_tag_decl()
6000 if (current_class_type in cp_finish_decl()
7251 == current_class_type); in grokfndecl()
8522 && current_class_type in grokdeclarator()
8524 current_class_type)) in grokdeclarator()
9273 current_class_type, in grokdeclarator()
9614 if (current_class_type in grokdeclarator()
9627 && current_class_type) in grokdeclarator()
9941 if (current_class_type) in grokdeclarator()
10197 if (current_class_type in grokdeclarator()
[all …]
H A Dsearch.c519 if (current_function_decl && current_class_type in current_scope()
522 current_class_type)) in current_scope()
525 current_class_type)))) in current_scope()
527 if (current_class_type) in current_scope()
528 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 Dsemantics.c1703 qualifying_type = current_class_type; in check_accessibility_of_qualified_id()
2630 DECL_CONTEXT (decl) = current_class_type; in finish_member_declaration()
2659 TYPE_METHODS (current_class_type) = decl; in finish_member_declaration()
2693 TYPE_FIELDS (current_class_type) in finish_member_declaration()
2698 TYPE_FIELDS (current_class_type) = decl; in finish_member_declaration()
3349 if (context != current_class_type) in finish_id_expression()
5844 current_class_type))) in build_data_member_initialization()
5968 current_class_type))) in build_constexpr_constructor_member_initializers()
9138 if (current_class_type in add_capture()
9200 current_class_type = saved_class_type; in add_default_capture()
[all …]
H A Dclass.c6297 if (current_class_type) in finish_struct()
6568 csn->type = current_class_type; in pushclass()
6578 current_class_type = type; in pushclass()
6665 c = current_class_type; in currently_open_class()
6693 if (!current_class_type) in currently_open_derived_class()
6696 if (DERIVED_FROM_P (t, current_class_type)) in currently_open_derived_class()
6697 return current_class_type; in currently_open_derived_class()
6723 c = current_class_type; in current_nonlambda_class_type()
7312 DECL_CONTEXT (value) = current_class_type; in build_self_reference()
7418 && TYPE_BEING_DEFINED (current_class_type) in maybe_note_name_used_in_class()
[all …]
H A Ddecl2.c764 DECL_CONTEXT (decl) = current_class_type; in finish_static_data_member_decl()
773 if (LOCAL_CLASS_P (current_class_type)) in finish_static_data_member_decl()
775 current_class_type, decl); in finish_static_data_member_decl()
826 && DECL_CONTEXT (value) != current_class_type) in grokfield()
849 DECL_CONTEXT (value) = current_class_type; in grokfield()
3715 if (! global_bindings_p () || current_class_type in cp_write_global_declarations()
H A Doptimize.c127 tree virtual_size = cxx_sizeof (current_class_type); in build_delete_destructor_body()
H A Dparser.c2790 && TYPE_BINFO (current_class_type)) in cp_parser_diagnose_invalid_type_name()
2794 for (b = TREE_CHAIN (TYPE_BINFO (current_class_type)); in cp_parser_diagnose_invalid_type_name()
16294 class_type = current_class_type; in cp_parser_direct_declarator()
16688 inject_this_parameter (current_class_type, quals); in cp_parser_late_return_type_opt()
17302 && TYPE_BEING_DEFINED (current_class_type) in cp_parser_parameter_declaration()
17303 && !LAMBDA_TYPE_P (current_class_type)) in cp_parser_parameter_declaration()
18531 class_type = current_class_type; in cp_parser_class_head()
18902 make_friend_class (current_class_type, type, in cp_parser_member_declaration()
20341 type = current_class_type; in cp_parser_lookup_name()
20868 if (current_class_type) in cp_parser_constructor_declarator_p()
[all …]
H A Dtree.c2238 VEC(tree,gc) *vbases = CLASSTYPE_VBASECLASSES (current_class_type); in bot_replace()
2855 else if (current != current_class_type in maybe_dummy_object()
2860 (CLASSTYPE_LAMBDA_EXPR (current_class_type))), in maybe_dummy_object()
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Dlambda.c647 if (current_class_type in add_capture()
650 if (COMPLETE_TYPE_P (current_class_type)) in add_capture()
704 tree saved_class_type = current_class_type; in add_default_capture()
728 current_class_type = saved_class_type; in add_default_capture()
865 tree type = current_class_type; in current_lambda_expr()
886 if (type != current_class_type in resolvable_dummy_lambda()
887 && current_class_type in resolvable_dummy_lambda()
888 && LAMBDA_TYPE_P (current_class_type) in resolvable_dummy_lambda()
889 && lambda_function (current_class_type) in resolvable_dummy_lambda()
891 return CLASSTYPE_LAMBDA_EXPR (current_class_type); in resolvable_dummy_lambda()
[all …]
H A Dfriend.c523 int class_template_depth = template_class_depth (current_class_type); in do_friend()
575 add_friend (current_class_type, decl, /*complain=*/true); in do_friend()
593 SET_DECL_FRIEND_CONTEXT (decl, current_class_type); in do_friend()
606 || template_class_depth (current_class_type) != 0) in do_friend()
648 add_friend (current_class_type, in do_friend()
H A Dmethod.c650 if (is_empty_class (current_class_type)) in do_build_copy_constructor()
653 else if (tree_int_cst_equal (TYPE_SIZE (current_class_type), in do_build_copy_constructor()
654 CLASSTYPE_SIZE (current_class_type))) in do_build_copy_constructor()
662 tree base_size = CLASSTYPE_SIZE_UNIT (current_class_type); in do_build_copy_constructor()
677 tree fields = TYPE_FIELDS (current_class_type); in do_build_copy_constructor()
697 for (binfo = TYPE_BINFO (current_class_type), i = 0; in do_build_copy_constructor()
770 && is_empty_class (current_class_type)) in do_build_copy_assign()
786 for (binfo = TYPE_BINFO (current_class_type), i = 0; in do_build_copy_assign()
811 for (fields = TYPE_FIELDS (current_class_type); in do_build_copy_assign()
1369 current_class_type); in walk_field_subobs()
[all …]
H A Dinit.c523 tree type = current_class_type; in perform_target_ctor()
1219 if (!COMPLETE_TYPE_P (current_class_type)) in emit_mem_initializers()
1551 current_class_type); in expand_member_init()
1559 current_class_type); in expand_member_init()
1581 || same_type_p (basetype, current_class_type)) in expand_member_init()
1584 class_binfo = TYPE_BINFO (current_class_type); in expand_member_init()
1612 if (CLASSTYPE_VBASECLASSES (current_class_type)) in expand_member_init()
1614 basetype, current_class_type); in expand_member_init()
1617 basetype, current_class_type); in expand_member_init()
4829 if (!ABSTRACT_CLASS_TYPE_P (current_class_type) in push_base_cleanups()
[all …]
H A Dname-lookup.c4248 || !same_type_p (current_class_type, t)) in push_scope()
4645 && DECL_CONTEXT (x) != current_class_type)) in push_class_level_binding_1()
4806 if (constructor_name_p (name, current_class_type)) in do_class_using_decl()
4809 scope, name, current_class_type); in do_class_using_decl()
5033 if (current_class_type) in current_decl_namespace()
6242 if (current_class_type == NULL_TREE) in lookup_name_real_1()
6564 if (!COMPLETE_TYPE_P (current_class_type)) in maybe_process_template_type_declaration()
6570 CLASSTYPE_NESTED_UTDS (current_class_type) = in maybe_process_template_type_declaration()
6682 if (!TYPE_BEING_DEFINED (current_class_type) in do_pushtag()
6737 && !COMPLETE_TYPE_P (current_class_type)) in do_pushtag()
[all …]
H A Ddecl.c4852 && (!current_class_type in check_tag_decl()
6895 if (current_class_type in cp_finish_decl()
9479 if (!current_class_type || !TYPE_BEING_DEFINED (current_class_type)) in check_static_variable_definition()
10320 && current_class_type in grokdeclarator()
10322 current_class_type)) in grokdeclarator()
11146 if (current_class_type in grokdeclarator()
11301 current_class_type, in grokdeclarator()
11664 if (current_class_type in grokdeclarator()
11685 ctype = current_class_type; in grokdeclarator()
11737 if (!current_class_type) in grokdeclarator()
[all …]
H A Dclass.c7115 if (current_class_type) in finish_struct()
7388 csn->type = current_class_type; in pushclass()
7398 current_class_type = type; in pushclass()
7487 c = current_class_type; in currently_open_class()
7515 if (!current_class_type) in currently_open_derived_class()
7519 return current_class_type; in currently_open_derived_class()
7538 if (!current_class_type) in outermost_open_class()
7542 r = current_class_type; in outermost_open_class()
7560 tree type = current_class_type; in current_nonlambda_class_type()
8222 && TYPE_BEING_DEFINED (current_class_type) in maybe_note_name_used_in_class()
[all …]
H A Dsearch.c379 if (current_function_decl && current_class_type in current_scope()
382 current_class_type)) in current_scope()
385 current_class_type)))) in current_scope()
388 if (current_class_type) in current_scope()
389 return current_class_type; in current_scope()
H A Ddecl2.c766 DECL_CONTEXT (decl) = current_class_type; in finish_static_data_member_decl()
775 if (LOCAL_CLASS_P (current_class_type) in finish_static_data_member_decl()
779 current_class_type, decl); in finish_static_data_member_decl()
781 for (tree t = current_class_type; TYPE_P (t); in finish_static_data_member_decl()
870 DECL_CONTEXT (value) = current_class_type; in grokfield()
971 && DECL_CONTEXT (value) != current_class_type) in grokfield()
976 DECL_CONTEXT (value) = current_class_type; in grokfield()
4649 if (! global_bindings_p () || current_class_type in c_parse_final_cleanups()
H A Dtypeck2.c438 if (current_class_type in cxx_incomplete_type_inform()
439 && TYPE_BEING_DEFINED (current_class_type) in cxx_incomplete_type_inform()
440 && same_type_p (ptype, current_class_type)) in cxx_incomplete_type_inform()
H A Dsemantics.c3067 gcc_assert (TYPE_BEING_DEFINED (current_class_type) in finish_member_declaration()
3086 DECL_CONTEXT (decl) = current_class_type; in finish_member_declaration()
3114 add = add_method (current_class_type, decl, false); in finish_member_declaration()
3117 else if (CLASSTYPE_LAMBDA_EXPR (current_class_type) in finish_member_declaration()
3134 TYPE_FIELDS (current_class_type) in finish_member_declaration()
3135 = chainon (TYPE_FIELDS (current_class_type), decl); in finish_member_declaration()
3138 DECL_CHAIN (decl) = TYPE_FIELDS (current_class_type); in finish_member_declaration()
3139 TYPE_FIELDS (current_class_type) = decl; in finish_member_declaration()
3810 if (context != current_class_type) in finish_id_expression()
7545 && CP_DECL_CONTEXT (v) != current_class_type) in finish_omp_threadprivate()
[all …]
H A Doptimize.c137 tree virtual_size = cxx_sizeof (current_class_type); in build_delete_destructor_body()
H A Dparser.c13765 && current_class_type) in cp_parser_function_specifier_opt()
17052 if (current_class_type && LAMBDA_TYPE_P (current_class_type)) in cp_parser_simple_type_specifier()
20383 class_type = current_class_type; in cp_parser_direct_declarator()
21263 (current_class_type)); in function_being_declared_is_template_p()
21294 || (current_class_type && LAMBDA_TYPE_P (current_class_type))) in cp_parser_parameter_declaration_clause()
21311 && current_class_type == NULL in cp_parser_parameter_declaration_clause()
23262 class_type = current_class_type; in cp_parser_class_head()
26197 type = current_class_type; in cp_parser_lookup_name()
26747 if (current_class_type) in cp_parser_constructor_declarator_p()
37825 else if (current_class_type) in cp_parser_omp_declare_reduction()
[all …]

12