/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
H A D | typeck.c | 340 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_long_unsigned_type_node) in cp_common_type() 341 || same_type_p (TYPE_MAIN_VARIANT (t2), long_long_unsigned_type_node)) in cp_common_type() 354 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_long_integer_type_node) in cp_common_type() 355 || same_type_p (TYPE_MAIN_VARIANT (t2), long_long_integer_type_node)) in cp_common_type() 364 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_unsigned_type_node) in cp_common_type() 365 || same_type_p (TYPE_MAIN_VARIANT (t2), long_unsigned_type_node)) in cp_common_type() 368 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_integer_type_node) in cp_common_type() 369 || same_type_p (TYPE_MAIN_VARIANT (t2), long_integer_type_node)) in cp_common_type() 383 && (same_type_p (TYPE_MAIN_VARIANT (t1), int_n_trees[i].signed_type) in cp_common_type() 384 || same_type_p (TYPE_MAIN_VARIANT (t2), int_n_trees[i].signed_type) in cp_common_type() [all …]
|
H A D | friend.c | 115 if (same_type_p (supplicant, type)) in is_friend() 125 same_type_p (supplicant, t)) in is_friend() 316 if (!friend_depth && same_type_p (type, friend_type)) in make_friend_class() 444 if (same_type_p (probe, friend_type)) in make_friend_class()
|
H A D | cvt.c | 146 same_p = same_type_p (TYPE_MAIN_VARIANT (intype_class), in cp_convert_to_pointer() 299 if (!same_type_p (TREE_TYPE (TREE_TYPE (expr)), in convert_to_pointer_force() 611 && same_type_p (TYPE_PTRMEM_CLASS_TYPE (type), in cp_fold_convert() 747 if (same_type_p (type, etype)) in ocp_convert() 2005 gcc_assert (!same_type_p (type, expr_type)); in can_convert_qual() 2015 return (same_type_p (TYPE_PTRMEM_CLASS_TYPE (type), in can_convert_qual() 2035 if (same_type_p (type, expr_type)) in perform_qualification_conversions() 2072 && same_type_p (to, tx_unsafe_fn_variant (from))); in can_convert_tx_safety() 2092 return same_type_p (to, v); in noexcept_conv_p() 2130 if (same_type_p (ft, ot) in strip_fnptr_conv()
|
H A D | call.c | 265 return same_type_p (TYPE_MAIN_VARIANT (basetype), TYPE_MAIN_VARIANT (name)); in check_dtor_name() 1288 if (same_type_p (from, to)) in standard_conversion() 1366 if (same_type_p (fbase, tbase)) in standard_conversion() 1401 if (same_type_p (from, to)) in standard_conversion() 1439 if (!same_type_p (fbase, tbase) && !DERIVED_FROM_P (fbase, tbase)) in standard_conversion() 1444 if (same_type_p (tstat, fstat) in standard_conversion() 1450 if (!same_type_p (fbase, tbase)) in standard_conversion() 1521 if ((same_type_p (to, type_promotes_to (from)) in standard_conversion() 1522 || (underlying_type && same_type_p (to, underlying_type))) in standard_conversion() 2645 && same_type_p (type_promotes_to (type), type)) in promoted_arithmetic_type_p() [all …]
|
H A D | tree.c | 3667 && !same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))) in cp_tree_equal() 3703 if (!same_type_p (TREE_TYPE (t1), TREE_TYPE (t2)) in cp_tree_equal() 3783 if (same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))) in cp_tree_equal() 3819 && same_type_p (TREE_TYPE (TEMPLATE_PARM_DECL (t1)), in cp_tree_equal() 3872 return same_type_p (o1, o2); in cp_tree_equal() 3898 return same_type_p (PTRMEM_CST_CLASS (t1), PTRMEM_CST_CLASS (t2)); in cp_tree_equal() 3915 return same_type_p (TRAIT_EXPR_TYPE1 (t1), TRAIT_EXPR_TYPE1 (t2)) in cp_tree_equal() 3928 if (!same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))) in cp_tree_equal() 3995 return same_type_p (t1, t2); in cp_tree_equal() 5377 return (same_type_p (type, char_type_node) in char_type_p() [all …]
|
H A D | search.c | 142 if (same_type_p (t, base)) in accessible_base_p() 381 && same_type_p (DECL_CONTEXT (current_function_decl), in current_scope() 384 && same_type_p (DECL_FRIEND_CONTEXT (current_function_decl), in current_scope() 1923 if (same_type_p (base_return, over_return)) in check_final_overrider() 2296 if (same_type_p (to_type, TREE_TYPE (probe))) in check_hidden_convs() 2328 if (same_type_p (to_type, TREE_TYPE (other))) in check_hidden_convs()
|
H A D | decl2.c | 190 if (same_type_p (new_ret, TREE_TYPE (fntype))) in change_return_type() 686 if (same_type_p (TREE_TYPE (TREE_TYPE (function)), in check_classfn() 1762 if (!same_type_p (TREE_TYPE (type), ptr_type_node)) in coerce_new_type() 1783 if (!same_type_p (TREE_VALUE (args), size_type_node)) in coerce_new_type() 1820 if (!same_type_p (TREE_TYPE (type), void_type_node)) in coerce_delete_type() 1848 || !same_type_p (TREE_VALUE (args), ptrtype)) in coerce_delete_type() 2807 if (same_type_p (TREE_TYPE (t), nlt)) in constrain_class_visibility() 2842 if (same_type_p (TREE_TYPE (t), nlt)) in constrain_class_visibility() 3350 if (!same_type_p (TREE_TYPE (guard_value), TREE_TYPE (guard))) in get_guard_cond() 3358 if (!same_type_p (TREE_TYPE (guard_value), TREE_TYPE (guard))) in get_guard_cond() [all …]
|
H A D | expr.c | 50 while (!same_type_p (DECL_CONTEXT (member), in cplus_expand_constant()
|
H A D | name-lookup.c | 450 && same_type_p (TREE_TYPE (value), TREE_TYPE (new_val)))) in add_value() 478 || !same_type_p (TREE_TYPE (type), TREE_TYPE (new_type))) in add_type() 1113 if (same_type_p (DECL_CONV_FN_TYPE (*iter), type)) in extract_conversion_operator() 2187 || same_type_p (TREE_TYPE (target_decl), in supplement_binding_1() 2203 && (same_type_p (TREE_TYPE (target_decl), TREE_TYPE (target_bval)) in supplement_binding_1() 2339 if (!same_type_p (TREE_TYPE (TREE_TYPE (one)), in matching_fn_p() 2378 else if (same_type_p (TREE_TYPE (other), TREE_TYPE (decl))) in update_binding() 2447 if (same_type_p (TREE_TYPE (old), TREE_TYPE (decl))) in update_binding() 2771 && same_type_p (TREE_TYPE (old), TREE_TYPE (decl))) in check_local_shadow() 4083 || !same_type_p (current_class_type, t)) in push_scope() [all …]
|
H A D | mangle.c | 266 && same_type_p (TREE_PURPOSE (NODE1), TREE_PURPOSE (NODE2))) \ 460 && same_type_p (node, candidate))); in add_substitution() 633 && same_type_p (TREE_VEC_ELT (args, 0), char_type_node) in find_substitution() 658 && same_type_p (TREE_VEC_ELT (args, 0), char_type_node) in find_substitution() 693 && same_type_p (type, candidate)) in find_substitution() 3447 gcc_assert (!same_type_p (TREE_TYPE (value), boolean_type_node) in write_template_arg_literal()
|
H A D | typeck2.c | 436 && same_type_p (ptype, current_class_type)) in cxx_incomplete_type_inform() 2243 if (!same_type_p (ctype, objtype)) in build_m_component_ref() 2547 if (same_type_p (TREE_VALUE (probe), spec)) in add_exception_specifier() 2618 if (same_type_p (TREE_VALUE (probe), spec)) in merge_exception_specifiers()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
H A D | typeck.cc | 359 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_long_unsigned_type_node) in cp_common_type() 360 || same_type_p (TYPE_MAIN_VARIANT (t2), long_long_unsigned_type_node)) in cp_common_type() 373 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_long_integer_type_node) in cp_common_type() 374 || same_type_p (TYPE_MAIN_VARIANT (t2), long_long_integer_type_node)) in cp_common_type() 383 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_unsigned_type_node) in cp_common_type() 384 || same_type_p (TYPE_MAIN_VARIANT (t2), long_unsigned_type_node)) in cp_common_type() 387 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_integer_type_node) in cp_common_type() 388 || same_type_p (TYPE_MAIN_VARIANT (t2), long_integer_type_node)) in cp_common_type() 402 && (same_type_p (TYPE_MAIN_VARIANT (t1), int_n_trees[i].signed_type) in cp_common_type() 403 || same_type_p (TYPE_MAIN_VARIANT (t2), int_n_trees[i].signed_type) in cp_common_type() [all …]
|
H A D | friend.cc | 115 if (same_type_p (supplicant, type)) in is_friend() 125 same_type_p (supplicant, t)) in is_friend() 329 if (!friend_depth && same_type_p (type, friend_type)) in make_friend_class() 462 if (same_type_p (probe, friend_type)) in make_friend_class()
|
H A D | cvt.cc | 146 same_p = same_type_p (TYPE_MAIN_VARIANT (intype_class), in cp_convert_to_pointer() 299 if (!same_type_p (TREE_TYPE (TREE_TYPE (expr)), in convert_to_pointer_force() 612 && same_type_p (TYPE_PTRMEM_CLASS_TYPE (type), in cp_fold_convert() 752 if (same_type_p (type, etype)) in ocp_convert() 2024 gcc_assert (!same_type_p (type, expr_type)); in can_convert_qual() 2034 return (same_type_p (TYPE_PTRMEM_CLASS_TYPE (type), in can_convert_qual() 2054 if (same_type_p (type, expr_type)) in perform_qualification_conversions() 2091 && same_type_p (to, tx_unsafe_fn_variant (from))); in can_convert_tx_safety() 2111 return same_type_p (to, v); in noexcept_conv_p() 2149 if (same_type_p (ft, ot) in strip_fnptr_conv()
|
H A D | call.cc | 262 return same_type_p (TYPE_MAIN_VARIANT (basetype), TYPE_MAIN_VARIANT (name)); in check_dtor_name() 1300 if (same_type_p (from, to)) in standard_conversion() 1378 if (same_type_p (fbase, tbase)) in standard_conversion() 1413 if (same_type_p (from, to)) in standard_conversion() 1451 if (!same_type_p (fbase, tbase) && !DERIVED_FROM_P (fbase, tbase)) in standard_conversion() 1456 if (same_type_p (tstat, fstat) in standard_conversion() 1462 if (!same_type_p (fbase, tbase)) in standard_conversion() 1533 if ((same_type_p (to, type_promotes_to (from)) in standard_conversion() 1534 || (underlying_type && same_type_p (to, underlying_type))) in standard_conversion() 2709 && same_type_p (type_promotes_to (type), type)) in promoted_arithmetic_type_p() [all …]
|
H A D | typeck2.cc | 294 && same_type_p (ptype, current_class_type)) in cxx_incomplete_type_inform() 1013 if ((same_type_p (ftype, long_double_type_node) in check_narrowing() 1014 && (same_type_p (type, double_type_node) in check_narrowing() 1015 || same_type_p (type, float_type_node))) in check_narrowing() 1016 || (same_type_p (ftype, double_type_node) in check_narrowing() 1017 && same_type_p (type, float_type_node)) in check_narrowing() 2204 if (!same_type_p (ctype, objtype)) in build_m_component_ref() 2513 if (same_type_p (TREE_VALUE (probe), spec)) in add_exception_specifier() 2584 if (same_type_p (TREE_VALUE (probe), spec)) in merge_exception_specifiers()
|
H A D | tree.cc | 3907 && !same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))) in cp_tree_equal() 3943 if (!same_type_p (TREE_TYPE (t1), TREE_TYPE (t2)) in cp_tree_equal() 4031 if (same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))) in cp_tree_equal() 4067 && same_type_p (TREE_TYPE (TEMPLATE_PARM_DECL (t1)), in cp_tree_equal() 4115 return same_type_p (o1, o2); in cp_tree_equal() 4141 return same_type_p (PTRMEM_CST_CLASS (t1), PTRMEM_CST_CLASS (t2)); in cp_tree_equal() 4158 return same_type_p (TRAIT_EXPR_TYPE1 (t1), TRAIT_EXPR_TYPE1 (t2)) in cp_tree_equal() 4181 if (!same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))) in cp_tree_equal() 4248 return same_type_p (t1, t2); in cp_tree_equal() 5699 return (same_type_p (type, char_type_node) in char_type_p() [all …]
|
H A D | search.cc | 177 if (same_type_p (t, base)) in accessible_base_p() 416 && same_type_p (DECL_CONTEXT (current_function_decl), in current_scope() 419 && same_type_p (DECL_FRIEND_CONTEXT (current_function_decl), in current_scope() 1939 if (same_type_p (base_return, over_return)) in check_final_overrider() 2330 if (same_type_p (to_type, TREE_TYPE (probe))) in check_hidden_convs() 2362 if (same_type_p (to_type, TREE_TYPE (other))) in check_hidden_convs()
|
H A D | decl2.cc | 188 if (same_type_p (new_ret, TREE_TYPE (fntype))) in change_return_type() 801 if (same_type_p (TREE_TYPE (TREE_TYPE (function)), in check_classfn() 1944 if (!same_type_p (TREE_TYPE (type), ptr_type_node)) in coerce_new_type() 1965 if (!same_type_p (TREE_VALUE (args), size_type_node)) in coerce_new_type() 2002 if (!same_type_p (TREE_TYPE (type), void_type_node)) in coerce_delete_type() 2030 || !same_type_p (TREE_VALUE (args), ptrtype)) in coerce_delete_type() 3015 if (same_type_p (TREE_TYPE (t), nlt)) in constrain_class_visibility() 3050 if (same_type_p (TREE_TYPE (t), nlt)) in constrain_class_visibility() 3564 if (!same_type_p (TREE_TYPE (guard_value), TREE_TYPE (guard))) in get_guard_cond() 3572 if (!same_type_p (TREE_TYPE (guard_value), TREE_TYPE (guard))) in get_guard_cond() [all …]
|
H A D | expr.cc | 50 while (!same_type_p (DECL_CONTEXT (member), in cplus_expand_constant()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
H A D | d-convert.cc | 356 if (same_type_p (etype, totype)) in convert_expr() 707 if (same_type_p (telem, ebtype)) in convert_for_assignment() 874 if ((tb->ty != Tarray && tb->ty != Tsarray) || same_type_p (tb, etype)) in d_array_convert()
|
H A D | expr.cc | 180 gcc_assert (same_type_p (ce->type, ce->to)); in binop_assignment() 309 gcc_assert (same_type_p (tb1, tb2)); in visit() 443 gcc_assert (same_type_p (tb1, tb2)); in visit() 818 gcc_assert (same_type_p (ce->type, ce->to)); in visit() 867 && same_type_p (etype, tb2->nextOf ()->toBasetype ())) in visit() 876 else if (same_type_p (etype, tb2)) in visit() 1669 && same_type_p (field->type, e->type)) in visit() 2912 if (ftype->ty == Tsarray && !same_type_p (type, ftype)) in visit()
|
H A D | types.cc | 55 if (same_type_p (tb, Type::tvalist)) in valist_array_p() 89 same_type_p (Type *t1, Type *t2) in same_type_p() function
|
/netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
H A D | d-convert.cc | 356 if (same_type_p (etype, totype)) in convert_expr() 786 if (same_type_p (telem, ebtype)) in convert_for_assignment() 979 || same_type_p (tb, etype)) in d_array_convert()
|
H A D | expr.cc | 169 gcc_assert (same_type_p (ce->type, ce->to)); in binop_assignment() 312 gcc_assert (same_type_p (tb1, tb2)); in visit() 445 gcc_assert (same_type_p (tb1, tb2)); in visit() 804 gcc_assert (same_type_p (ce->type, ce->to)); in visit() 853 && same_type_p (etype, tb2->nextOf ()->toBasetype ())) in visit() 862 else if (same_type_p (etype, tb2)) in visit() 1578 && same_type_p (field->type, e->type)) in visit() 2863 if (ftype->ty == TY::Tsarray && !same_type_p (type, ftype)) in visit()
|