Home
last modified time | relevance | path

Searched refs:CLASS_TYPE_P (Results 1 – 25 of 86) sorted by relevance

1234

/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dsearch.cc240 if (t_binfo && CLASS_TYPE_P (base) && COMPLETE_OR_OPEN_TYPE_P (base)) in lookup_base()
1253 if (!CLASS_TYPE_P (type)) in fuzzy_lookup_field()
1403 && CLASS_TYPE_P (context_class) in adjust_result_of_qualified_name_lookup()
1404 && CLASS_TYPE_P (qualifying_scope) in adjust_result_of_qualified_name_lookup()
1858 if (!CLASS_TYPE_P (type)) in dfs_locate_field_accessor_pre()
1941 else if ((CLASS_TYPE_P (over_return) && CLASS_TYPE_P (base_return)) in check_final_overrider()
1968 if (CLASS_TYPE_P (base_return) && CLASS_TYPE_P (over_return)) in check_final_overrider()
2533 if (!CLASS_TYPE_P (type) || !TYPE_BINFO (type)) in lookup_conversions()
2716 if (!type || !CLASS_TYPE_P (type) || !uses_template_parms (type)) in any_dependent_bases_p()
H A Dtree.cc279 return (CLASS_TYPE_P (TREE_TYPE (ref)) ? clk_class : clk_none); in lvalue_kind()
283 if (CLASS_TYPE_P (TREE_TYPE (ref))) in lvalue_kind()
305 if (CLASS_TYPE_P (TREE_TYPE (ref))) in lvalue_kind()
314 if (CLASS_TYPE_P (TREE_TYPE (ref)) in lvalue_kind()
752 || !CLASS_TYPE_P (inner_type)) in build_vec_init_elt()
890 else if (CLASS_TYPE_P (type) && type_has_nontrivial_copy_init (type) in build_target_expr_with_type()
977 if (!CLASS_TYPE_P (type) && TREE_CODE (type) != ARRAY_TYPE in rvalue()
987 gcc_checking_assert (!CLASS_TYPE_P (type)); in rvalue()
3016 if (!CLASS_TYPE_P (t)) in no_linkage_check()
3507 if (!CLASS_TYPE_P (strip_array_types (TREE_TYPE (op0)))) in replace_placeholders()
[all …]
H A Dfriend.cc206 if (ctx && CLASS_TYPE_P (ctx) && !uses_template_parms (ctx)) in add_friend()
302 if (CLASS_TYPE_P (friend_type) in make_friend_class()
408 || !CLASS_TYPE_P (TREE_TYPE (decl)))) in make_friend_class()
H A Dcall.cc1302 if (CLASS_TYPE_P (to) && conv->kind == ck_rvalue) in standard_conversion()
1390 else if (CLASS_TYPE_P (from_pointee) in standard_conversion()
1391 && CLASS_TYPE_P (to_pointee) in standard_conversion()
1585 || (CLASS_TYPE_P (t1) && CLASS_TYPE_P (t2) in reference_related_p()
1774 else if (CLASS_TYPE_P (from) in reference_binding()
1877 else if (CLASS_TYPE_P (from) && !related_p in reference_binding()
1962 if (!TYPE_REF_P (ftype) && !CLASS_TYPE_P (ftype)) in reference_binding()
2029 && CLASS_TYPE_P (to) in implicit_conversion_1()
2097 if (CLASS_TYPE_P (to) in implicit_conversion_1()
2147 && CLASS_TYPE_P (conv->type) in implicit_conversion()
[all …]
H A Dclass.cc691 return (CLASS_TYPE_P (fromtype) in is_empty_base_ref()
1709 if (!CLASS_TYPE_P (t) in inherit_targ_abi_tags()
2633 && CLASS_TYPE_P (TREE_TYPE (over_return)) in update_vtable_entry_for_fn()
2634 && CLASS_TYPE_P (TREE_TYPE (base_return)) in update_vtable_entry_for_fn()
3163 gcc_assert (t && CLASS_TYPE_P (t)); in dfs_declare_virt_assop_and_dtor()
3559 else if (CLASS_TYPE_P (type)) in check_field_decl()
3824 if (CLASS_TYPE_P (type) in check_field_decls()
3836 if (CLASS_TYPE_P (type)) in check_field_decls()
3920 else if (CLASS_TYPE_P (type)) in check_field_decls()
4084 if (CLASS_TYPE_P (type)) in walk_subobject_offsets()
[all …]
H A Dcp-ubsan.cc47 if (!CLASS_TYPE_P (type) || !CLASSTYPE_VTABLES (type)) in cp_ubsan_instrument_vptr_p()
281 || !CLASS_TYPE_P (TREE_TYPE (TREE_TYPE (op))) in cp_ubsan_maybe_instrument_downcast()
H A Drtti.cc279 if (CLASS_TYPE_P (type) || type == unknown_type_node in get_tinfo_decl_dynamic()
449 if (CLASS_TYPE_P (type)) in get_tinfo_decl_direct()
455 if (!CLASS_TYPE_P (type) || TYPE_TRANSPARENT_AGGR (type)) in get_tinfo_decl_direct()
492 if (CLASS_TYPE_P (type)) in get_tinfo_decl_direct()
533 if (CLASS_TYPE_P (type) || type == unknown_type_node in get_typeid()
H A Dtypeck.cc136 else if (CLASS_TYPE_P (type)) in complete_type()
687 && CLASS_TYPE_P (TREE_TYPE (t1)) in composite_pointer_type()
688 && CLASS_TYPE_P (TREE_TYPE (t2)) in composite_pointer_type()
1710 if (CLASS_TYPE_P (type1) in layout_compatible_type_p()
2427 if (!CLASS_TYPE_P (type) && cv_qualified_p (type)) in decay_conversion()
2684 if (!CLASS_TYPE_P (object_type)) in build_class_member_access_expr()
2689 && CLASS_TYPE_P (TREE_TYPE (object_type))) in build_class_member_access_expr()
3249 if (!CLASS_TYPE_P (object_type)) in finish_class_member_access_expr()
3254 && CLASS_TYPE_P (TREE_TYPE (object_type))) in finish_class_member_access_expr()
3333 gcc_assert (CLASS_TYPE_P (scope)); in finish_class_member_access_expr()
[all …]
H A Dsemantics.cc350 && (CLASS_TYPE_P (cs) || TREE_CODE (cs) == FUNCTION_DECL)) in enforce_access()
1705 if (CLASS_TYPE_P (orig_type)) in finish_handler_parms()
1874 || (CLASS_TYPE_P (TREE_TYPE (operand)) in finish_asm_stmt()
2287 && CLASS_TYPE_P (object_type) in check_accessibility_of_qualified_id()
2325 && CLASS_TYPE_P (qualifying_type)) in check_accessibility_of_qualified_id()
2563 else if (CLASS_TYPE_P (type)) in finish_stmt_expr()
2921 else if (CLASS_TYPE_P (TREE_TYPE (fn))) in finish_call_expr()
3745 && CLASS_TYPE_P (type) in finish_template_type()
3753 else if (CLASS_TYPE_P (type) && !alias_type_or_template_p (type)) in finish_template_type()
3813 if (!CLASS_TYPE_P (scope)) in baselink_for_fns()
[all …]
H A Dexcept.cc708 if (CLASS_TYPE_P (temp_type)) in build_throw()
976 if (CLASS_TYPE_P (to) && CLASS_TYPE_P (from) in can_convert_eh()
H A Dinit.cc353 if (CLASS_TYPE_P (type) && type_build_ctor_call (type)) in build_value_init()
403 if (CLASS_TYPE_P (type)) in build_value_init_noctor()
1009 else if (!CLASS_TYPE_P (type)) in perform_member_init()
1088 || (init && CLASS_TYPE_P (strip_array_types (type)))) in perform_member_init()
1154 if (CLASS_TYPE_P (core_type) in perform_member_init()
2337 if (! CLASS_TYPE_P (type)) in is_class_type()
2760 if (CLASS_TYPE_P (field_type)) in diagnose_uninitialized_cst_or_ref_member_1()
3335 && CLASS_TYPE_P (elt_type) in build_new_1()
3341 && CLASS_TYPE_P (elt_type) in build_new_1()
4708 else if (CLASS_TYPE_P (type) in build_vec_init()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dsearch.c205 if (t_binfo && CLASS_TYPE_P (base) && COMPLETE_OR_OPEN_TYPE_P (base)) in lookup_base()
1238 if (!CLASS_TYPE_P (type)) in fuzzy_lookup_field()
1387 && CLASS_TYPE_P (context_class) in adjust_result_of_qualified_name_lookup()
1388 && CLASS_TYPE_P (qualifying_scope) in adjust_result_of_qualified_name_lookup()
1842 if (!CLASS_TYPE_P (type)) in dfs_locate_field_accessor_pre()
1925 else if ((CLASS_TYPE_P (over_return) && CLASS_TYPE_P (base_return)) in check_final_overrider()
1946 if (CLASS_TYPE_P (base_return) && CLASS_TYPE_P (over_return)) in check_final_overrider()
2499 if (!CLASS_TYPE_P (type) || !TYPE_BINFO (type)) in lookup_conversions()
2682 if (!type || !CLASS_TYPE_P (type) || !uses_template_parms (type)) in any_dependent_bases_p()
H A Dfriend.c206 if (ctx && CLASS_TYPE_P (ctx) && !uses_template_parms (ctx)) in add_friend()
289 if (CLASS_TYPE_P (friend_type) in make_friend_class()
390 || !CLASS_TYPE_P (TREE_TYPE (decl)))) in make_friend_class()
H A Dtree.c274 return (CLASS_TYPE_P (TREE_TYPE (ref)) ? clk_class : clk_none); in lvalue_kind()
278 if (CLASS_TYPE_P (TREE_TYPE (ref))) in lvalue_kind()
300 if (CLASS_TYPE_P (TREE_TYPE (ref))) in lvalue_kind()
309 if (CLASS_TYPE_P (TREE_TYPE (ref)) in lvalue_kind()
742 || !CLASS_TYPE_P (inner_type)) in build_vec_init_elt()
845 else if (CLASS_TYPE_P (type) && type_has_nontrivial_copy_init (type) in build_target_expr_with_type()
932 if (!CLASS_TYPE_P (type) && cv_qualified_p (type)) in rvalue()
2829 if (!CLASS_TYPE_P (t)) in no_linkage_check()
3294 if (!CLASS_TYPE_P (strip_array_types (TREE_TYPE (op0)))) in replace_placeholders()
4129 if (CLASS_TYPE_P (t)) in type_has_nontrivial_default_init()
[all …]
H A Dcall.c1290 if (CLASS_TYPE_P (to) && conv->kind == ck_rvalue) in standard_conversion()
1378 else if (CLASS_TYPE_P (from_pointee) in standard_conversion()
1379 && CLASS_TYPE_P (to_pointee) in standard_conversion()
1573 || (CLASS_TYPE_P (t1) && CLASS_TYPE_P (t2) in reference_related_p()
1750 else if (CLASS_TYPE_P (from) in reference_binding()
1850 else if (CLASS_TYPE_P (from) && !related_p in reference_binding()
1935 if (!TYPE_REF_P (ftype) && !CLASS_TYPE_P (ftype)) in reference_binding()
2004 && CLASS_TYPE_P (to) in implicit_conversion()
2072 if (CLASS_TYPE_P (to) in implicit_conversion()
2766 if (CLASS_TYPE_P (c1) && DERIVED_FROM_P (c2, c1) in add_builtin_candidate()
[all …]
H A Dclass.c1617 if (!CLASS_TYPE_P (t) in inherit_targ_abi_tags()
2530 && CLASS_TYPE_P (TREE_TYPE (over_return)) in update_vtable_entry_for_fn()
2531 && CLASS_TYPE_P (TREE_TYPE (base_return)) in update_vtable_entry_for_fn()
3089 gcc_assert (t && CLASS_TYPE_P (t)); in dfs_declare_virt_assop_and_dtor()
3484 else if (CLASS_TYPE_P (type)) in check_field_decl()
3749 if (CLASS_TYPE_P (type) in check_field_decls()
3761 if (CLASS_TYPE_P (type)) in check_field_decls()
3840 else if (CLASS_TYPE_P (type)) in check_field_decls()
4004 if (CLASS_TYPE_P (type)) in walk_subobject_offsets()
4122 if (!CLASS_TYPE_P (element_type) in walk_subobject_offsets()
[all …]
H A Dcp-ubsan.c47 if (!CLASS_TYPE_P (type) || !CLASSTYPE_VTABLES (type)) in cp_ubsan_instrument_vptr_p()
263 || !CLASS_TYPE_P (TREE_TYPE (TREE_TYPE (op))) in cp_ubsan_maybe_instrument_downcast()
H A Dtypeck.c136 else if (CLASS_TYPE_P (type) && CLASSTYPE_TEMPLATE_INSTANTIATION (type)) in complete_type()
661 && CLASS_TYPE_P (TREE_TYPE (t1)) in composite_pointer_type()
662 && CLASS_TYPE_P (TREE_TYPE (t2)) in composite_pointer_type()
2238 if (!CLASS_TYPE_P (type) && cv_qualified_p (type)) in decay_conversion()
2516 if (!CLASS_TYPE_P (object_type)) in build_class_member_access_expr()
2521 && CLASS_TYPE_P (TREE_TYPE (object_type))) in build_class_member_access_expr()
3079 if (!CLASS_TYPE_P (object_type)) in finish_class_member_access_expr()
3084 && CLASS_TYPE_P (TREE_TYPE (object_type))) in finish_class_member_access_expr()
3163 gcc_assert (CLASS_TYPE_P (scope)); in finish_class_member_access_expr()
3416 && (!CLASS_TYPE_P (t) || !CLASSTYPE_EMPTY_P (t))) in cp_build_indirect_ref_1()
[all …]
H A Dsemantics.c1434 if (CLASS_TYPE_P (orig_type)) in finish_handler_parms()
1603 || (CLASS_TYPE_P (TREE_TYPE (operand)) in finish_asm_stmt()
2014 || !CLASS_TYPE_P (context) in add_typedef_to_current_template_for_access_check()
2018 if (CLASS_TYPE_P (cs) || TREE_CODE (cs) == FUNCTION_DECL) in add_typedef_to_current_template_for_access_check()
2071 && CLASS_TYPE_P (object_type) in check_accessibility_of_qualified_id()
2099 && CLASS_TYPE_P (qualifying_type) in check_accessibility_of_qualified_id()
2334 else if (CLASS_TYPE_P (type)) in finish_stmt_expr()
2688 else if (CLASS_TYPE_P (TREE_TYPE (fn))) in finish_call_expr()
3414 && CLASS_TYPE_P (type) in finish_template_type()
3422 else if (CLASS_TYPE_P (type) && !alias_type_or_template_p (type)) in finish_template_type()
[all …]
H A Ddecl2.c1451 if (CLASS_TYPE_P (type) && CLASSTYPE_VTABLES (type)) in cp_omp_mappable_type_1()
1459 if (CLASS_TYPE_P (type)) in cp_omp_mappable_type_1()
2341 else if (CLASS_TYPE_P (*tp) in min_vis_r()
2519 if (CLASS_TYPE_P (TREE_TYPE (decl))) in determine_visibility()
2601 || (CLASS_TYPE_P (underlying_type) in determine_visibility()
2617 && CLASS_TYPE_P (TREE_TYPE (DECL_NAME (decl))) in determine_visibility()
2878 if (CLASS_TYPE_P (type)) in reset_type_linkage_1()
2907 if (CLASS_TYPE_P (type)) in reset_type_linkage_2()
3123 if (CLASS_TYPE_P (type)) in import_export_decl()
4466 else if (CLASS_TYPE_P (t) && TYPE_BEING_DEFINED (t)) in no_linkage_error()
[all …]
H A Drtti.c282 if (CLASS_TYPE_P (type) || type == unknown_type_node in get_tinfo_decl_dynamic()
437 if (CLASS_TYPE_P (type)) in get_tinfo_decl()
468 if (CLASS_TYPE_P (type)) in get_tinfo_decl()
522 if (CLASS_TYPE_P (type) || type == unknown_type_node in get_typeid()
H A Dexcept.c758 if (CLASS_TYPE_P (temp_type)) in build_throw()
1028 if (CLASS_TYPE_P (to) && CLASS_TYPE_P (from) in can_convert_eh()
H A Dinit.c350 if (CLASS_TYPE_P (type) && type_build_ctor_call (type)) in build_value_init()
397 if (CLASS_TYPE_P (type)) in build_value_init_noctor()
822 /* : */CLASS_TYPE_P (type)))) in perform_member_init()
894 || (init && CLASS_TYPE_P (strip_array_types (type)))) in perform_member_init()
960 if (CLASS_TYPE_P (core_type) in perform_member_init()
2100 if (! CLASS_TYPE_P (type)) in is_class_type()
2521 if (CLASS_TYPE_P (field_type)) in diagnose_uninitialized_cst_or_ref_member_1()
3259 && CLASS_TYPE_P (elt_type) in build_new_1()
4545 else if (CLASS_TYPE_P (type) in build_vec_init()
4659 if (CLASS_TYPE_P (type)) in build_vec_init()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/
H A Dwinnt-cxx.c100 gcc_assert (CLASS_TYPE_P (t)); in i386_pe_adjust_class_at_definition()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Dwinnt-cxx.cc100 gcc_assert (CLASS_TYPE_P (t)); in i386_pe_adjust_class_at_definition()

1234