| /dragonfly/contrib/gcc-4.7/gcc/cp/ |
| HD | typeck.c | 346 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_long_unsigned_type_node) in cp_common_type() 347 || same_type_p (TYPE_MAIN_VARIANT (t2), long_long_unsigned_type_node)) in cp_common_type() 360 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_long_integer_type_node) in cp_common_type() 361 || same_type_p (TYPE_MAIN_VARIANT (t2), long_long_integer_type_node)) in cp_common_type() 369 && (same_type_p (TYPE_MAIN_VARIANT (t1), in cp_common_type() 371 || same_type_p (TYPE_MAIN_VARIANT (t2), in cp_common_type() 381 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_unsigned_type_node) in cp_common_type() 382 || same_type_p (TYPE_MAIN_VARIANT (t2), long_unsigned_type_node)) in cp_common_type() 385 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_integer_type_node) in cp_common_type() 386 || same_type_p (TYPE_MAIN_VARIANT (t2), long_integer_type_node)) in cp_common_type() [all …]
|
| HD | friend.c | 77 if (same_type_p (supplicant, type)) in is_friend() 87 same_type_p (supplicant, t)) in is_friend() 259 else if (same_type_p (type, friend_type)) in make_friend_class() 380 if (same_type_p (probe, friend_type)) in make_friend_class()
|
| HD | tree.c | 2526 if (!same_type_p (TREE_TYPE (t1), TREE_TYPE (t2)) in cp_tree_equal() 2613 if (same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))) in cp_tree_equal() 2645 && same_type_p (TREE_TYPE (TEMPLATE_PARM_DECL (t1)), in cp_tree_equal() 2673 return same_type_p (o1, o2); in cp_tree_equal() 2699 return same_type_p (PTRMEM_CST_CLASS (t1), PTRMEM_CST_CLASS (t2)); in cp_tree_equal() 2709 return same_type_p (TRAIT_EXPR_TYPE1 (t1), TRAIT_EXPR_TYPE1 (t2)) in cp_tree_equal() 2710 && same_type_p (TRAIT_EXPR_TYPE2 (t1), TRAIT_EXPR_TYPE2 (t2)); in cp_tree_equal() 2719 if (!same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))) in cp_tree_equal() 2760 return same_type_p (t1, t2); in cp_tree_equal() 3429 return (same_type_p (type, char_type_node) in char_type_p() [all …]
|
| HD | call.c | 259 return same_type_p (TYPE_MAIN_VARIANT (basetype), TYPE_MAIN_VARIANT (name)); in check_dtor_name() 1144 if (same_type_p (from, to)) in standard_conversion() 1208 else if (!same_type_p (fbase, tbase)) in standard_conversion() 1245 if (same_type_p (from, to)) in standard_conversion() 1280 || !same_type_p (static_fn_type (fromfn), in standard_conversion() 1326 if (same_type_p (to, type_promotes_to (from)) in standard_conversion() 1370 return (same_type_p (t1, t2) in reference_related_p() 2204 && same_type_p (type_promotes_to (type), type)) in promoted_arithmetic_type_p() 2596 if (type2 && !same_type_p (type1, type2) in add_builtin_candidate() 2948 if (arg_types && same_type_p (TYPE_MAIN_VARIANT (TREE_VALUE (arg_types)), in add_template_candidate_real() [all …]
|
| HD | expr.c | 51 while (!same_type_p (DECL_CONTEXT (member), in cplus_expand_constant()
|
| HD | search.c | 167 if (same_type_p (t, base)) in accessible_base_p() 521 && same_type_p (DECL_CONTEXT (current_function_decl), in current_scope() 524 && same_type_p (DECL_FRIEND_CONTEXT (current_function_decl), in current_scope() 1341 else if (same_type_p (DECL_CONV_FN_TYPE (fn), type)) in lookup_conversion_operator() 1852 if (same_type_p (base_return, over_return)) in check_final_overrider() 2248 if (same_type_p (to_type, TREE_TYPE (probe))) in check_hidden_convs() 2280 if (same_type_p (to_type, TREE_TYPE (other))) in check_hidden_convs()
|
| HD | cvt.c | 143 same_p = same_type_p (TYPE_MAIN_VARIANT (intype_class), in cp_convert_to_pointer() 289 if (!same_type_p (TREE_TYPE (TREE_TYPE (expr)), in convert_to_pointer_force() 659 if (same_type_p (type, TREE_TYPE (e))) in ocp_convert() 1696 if (same_type_p (type, expr_type)) in perform_qualification_conversions() 1703 && same_type_p (TYPE_PTRMEM_CLASS_TYPE (type), in perform_qualification_conversions()
|
| HD | decl2.c | 154 if (same_type_p (new_ret, TREE_TYPE (fntype))) in change_return_type() 677 if (same_type_p (TREE_TYPE (TREE_TYPE (function)), in check_classfn() 1473 if (!same_type_p (TREE_TYPE (type), ptr_type_node)) in coerce_new_type() 1493 if (!same_type_p (TREE_VALUE (args), size_type_node)) in coerce_new_type() 1529 if (!same_type_p (TREE_TYPE (type), void_type_node)) in coerce_delete_type() 1536 || !same_type_p (TREE_VALUE (args), ptr_type_node)) in coerce_delete_type() 2737 if (!same_type_p (TREE_TYPE (guard_value), TREE_TYPE (guard))) in get_guard_cond() 2745 if (!same_type_p (TREE_TYPE (guard_value), TREE_TYPE (guard))) in get_guard_cond() 2763 if (!same_type_p (TREE_TYPE (guard_init), TREE_TYPE (guard))) in set_guard()
|
| HD | init.c | 936 !same_type_p (ctx, t); in sort_mem_initializers() 974 if (same_type_p (last_ctx, ctx)) in sort_mem_initializers() 984 if (same_type_p (last_ctx, t)) in sort_mem_initializers() 992 if (same_type_p (ctx, t)) in sort_mem_initializers() 1032 && same_type_p (TREE_PURPOSE (mem_inits), current_class_type)) in emit_mem_initializers() 1370 if (same_type_p (basetype, current_class_type) in expand_member_init() 1503 itype && same_type_p (TREE_TYPE (init), in build_aggr_init() 3290 bool digested = same_type_p (atype, TREE_TYPE (init)); in build_vec_init()
|
| HD | mangle.c | 254 && same_type_p (TREE_PURPOSE (NODE1), TREE_PURPOSE (NODE2))) \ 397 && same_type_p (node, candidate))); in add_substitution() 547 && same_type_p (TREE_VEC_ELT (args, 0), char_type_node) in find_substitution() 578 && same_type_p (TREE_VEC_ELT (args, 0), char_type_node) in find_substitution() 619 && same_type_p (type, candidate)) in find_substitution() 2926 gcc_assert (!same_type_p (TREE_TYPE (value), boolean_type_node) in write_template_arg_literal()
|
| HD | decl.c | 991 if (same_type_p (TREE_TYPE (f1), TREE_TYPE (f2))) in decls_match() 1039 types_match = same_type_p (TREE_TYPE (DECL_TEMPLATE_RESULT (olddecl)), in decls_match() 1330 else if (! same_type_p (TREE_VALUE (t1), TREE_VALUE (t2))) in duplicate_decls() 1468 && same_type_p (TREE_TYPE (TREE_TYPE (newdecl)), in duplicate_decls() 1855 if (! same_type_p (newtype, oldtype) in duplicate_decls() 2366 if (same_type_p (TREE_TYPE (newdecl), TREE_TYPE (olddecl))) in redeclaration_error_message() 4443 if (!same_type_p (DECL_CONTEXT (field), context)) in start_decl() 5046 if (!same_type_p (TREE_TYPE (value), type)) in reshape_init_vector() 7461 if (!same_type_p (TREE_TYPE (TREE_TYPE (decl)), in grokfndecl() 8885 && !same_type_p (TYPE_MAIN_VARIANT (type), wchar_type_node))) in grokdeclarator() [all …]
|
| HD | typeck2.c | 1587 if (!same_type_p (ctype, objtype)) in build_m_component_ref() 1808 if (same_type_p (TREE_VALUE (probe), spec)) in add_exception_specifier() 1878 if (same_type_p (TREE_VALUE (probe), spec)) in merge_exception_specifiers()
|
| HD | class.c | 1080 && (!same_type_p (TREE_TYPE (fn_type), in add_method() 1093 || same_type_p (TREE_TYPE (fn_type), in add_method() 1906 if (!same_type_p (TREE_TYPE (vtable), atype)) in layout_vtable_decl() 1935 && same_type_p (DECL_CONV_FN_TYPE (fndecl), in same_signature_p() 3402 if (same_type_p (TREE_VALUE (t), type)) in check_subobject_offset() 4280 gcc_assert (same_type_p (TREE_TYPE (decl_parms), in adjust_clone_args() 4856 && same_type_p (TREE_VALUE (second_parm), size_type_node)) in type_requires_array_cookie() 6083 && same_type_p (TYPE_MAIN_VARIANT (TREE_TYPE (x)), t)) in finish_struct_1() 6674 if (same_type_p (c, t)) in currently_open_class() 6943 if (same_type_p (target_fn_type, static_fn_type (fn))) in resolve_address_of_overloaded_function() [all …]
|
| /dragonfly/contrib/gcc-8.0/gcc/cp/ |
| HD | typeck.c | 339 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_long_unsigned_type_node) in cp_common_type() 340 || same_type_p (TYPE_MAIN_VARIANT (t2), long_long_unsigned_type_node)) in cp_common_type() 353 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_long_integer_type_node) in cp_common_type() 354 || same_type_p (TYPE_MAIN_VARIANT (t2), long_long_integer_type_node)) in cp_common_type() 363 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_unsigned_type_node) in cp_common_type() 364 || same_type_p (TYPE_MAIN_VARIANT (t2), long_unsigned_type_node)) in cp_common_type() 367 if (same_type_p (TYPE_MAIN_VARIANT (t1), long_integer_type_node) in cp_common_type() 368 || same_type_p (TYPE_MAIN_VARIANT (t2), long_integer_type_node)) in cp_common_type() 382 && (same_type_p (TYPE_MAIN_VARIANT (t1), int_n_trees[i].signed_type) in cp_common_type() 383 || same_type_p (TYPE_MAIN_VARIANT (t2), int_n_trees[i].signed_type) in cp_common_type() [all …]
|
| HD | friend.c | 115 if (same_type_p (supplicant, type)) in is_friend() 125 same_type_p (supplicant, t)) in is_friend() 315 if (!friend_depth && same_type_p (type, friend_type)) in make_friend_class() 441 if (same_type_p (probe, friend_type)) in make_friend_class()
|
| HD | cvt.c | 145 same_p = same_type_p (TYPE_MAIN_VARIANT (intype_class), in cp_convert_to_pointer() 298 if (!same_type_p (TREE_TYPE (TREE_TYPE (expr)), in convert_to_pointer_force() 714 if (same_type_p (type, TREE_TYPE (e))) in ocp_convert() 1926 gcc_assert (!same_type_p (type, expr_type)); in can_convert_qual() 1931 return (same_type_p (TYPE_PTRMEM_CLASS_TYPE (type), in can_convert_qual() 1951 if (same_type_p (type, expr_type)) in perform_qualification_conversions() 1989 && same_type_p (to, tx_unsafe_fn_variant (from))); in can_convert_tx_safety() 2023 return same_type_p (t, v); in noexcept_conv_p() 2061 if (same_type_p (ft, ot) in strip_fnptr_conv()
|
| HD | call.c | 261 return same_type_p (TYPE_MAIN_VARIANT (basetype), TYPE_MAIN_VARIANT (name)); in check_dtor_name() 1189 if (same_type_p (from, to)) in standard_conversion() 1267 if (same_type_p (fbase, tbase)) in standard_conversion() 1302 if (same_type_p (from, to)) in standard_conversion() 1343 if (same_type_p (tstat, fstat) in standard_conversion() 1349 if (!same_type_p (fbase, tbase)) in standard_conversion() 1409 if (same_type_p (to, type_promotes_to (from)) in standard_conversion() 1453 return (same_type_p (t1, t2) in reference_related_p() 2440 && same_type_p (type_promotes_to (type), type)) in promoted_arithmetic_type_p() 2855 if (type2 && !same_type_p (type1, type2) in add_builtin_candidate() [all …]
|
| HD | tree.c | 3625 && !same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))) in cp_tree_equal() 3661 if (!same_type_p (TREE_TYPE (t1), TREE_TYPE (t2)) in cp_tree_equal() 3739 if (same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))) in cp_tree_equal() 3773 && same_type_p (TREE_TYPE (TEMPLATE_PARM_DECL (t1)), in cp_tree_equal() 3817 return same_type_p (o1, o2); in cp_tree_equal() 3843 return same_type_p (PTRMEM_CST_CLASS (t1), PTRMEM_CST_CLASS (t2)); in cp_tree_equal() 3860 return same_type_p (TRAIT_EXPR_TYPE1 (t1), TRAIT_EXPR_TYPE1 (t2)) in cp_tree_equal() 3873 if (!same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))) in cp_tree_equal() 3922 return same_type_p (t1, t2); in cp_tree_equal() 5048 return (same_type_p (type, char_type_node) in char_type_p() [all …]
|
| HD | 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() 1870 if (same_type_p (base_return, over_return)) in check_final_overrider() 2246 if (same_type_p (to_type, TREE_TYPE (probe))) in check_hidden_convs() 2278 if (same_type_p (to_type, TREE_TYPE (other))) in check_hidden_convs()
|
| HD | decl2.c | 205 if (same_type_p (new_ret, TREE_TYPE (fntype))) in change_return_type() 689 if (same_type_p (TREE_TYPE (TREE_TYPE (function)), in check_classfn() 1712 if (!same_type_p (TREE_TYPE (type), ptr_type_node)) in coerce_new_type() 1732 if (!same_type_p (TREE_VALUE (args), size_type_node)) in coerce_new_type() 1768 if (!same_type_p (TREE_TYPE (type), void_type_node)) in coerce_delete_type() 1775 || !same_type_p (TREE_VALUE (args), ptr_type_node)) in coerce_delete_type() 2649 if (same_type_p (TREE_TYPE (t), nlt)) in constrain_class_visibility() 2684 if (same_type_p (TREE_TYPE (t), nlt)) in constrain_class_visibility() 3202 if (!same_type_p (TREE_TYPE (guard_value), TREE_TYPE (guard))) in get_guard_cond() 3210 if (!same_type_p (TREE_TYPE (guard_value), TREE_TYPE (guard))) in get_guard_cond() [all …]
|
| HD | expr.c | 50 while (!same_type_p (DECL_CONTEXT (member), in cplus_expand_constant()
|
| HD | name-lookup.c | 449 && same_type_p (TREE_TYPE (value), TREE_TYPE (new_val)))) in add_value() 477 || !same_type_p (TREE_TYPE (type), TREE_TYPE (new_type))) in add_type() 1112 if (same_type_p (DECL_CONV_FN_TYPE (*iter), type)) in extract_conversion_operator() 2190 || same_type_p (TREE_TYPE (target_decl), in supplement_binding_1() 2206 && (same_type_p (TREE_TYPE (target_decl), TREE_TYPE (target_bval)) in supplement_binding_1() 2334 if (!same_type_p (TREE_TYPE (TREE_TYPE (one)), in matching_fn_p() 2370 else if (same_type_p (TREE_TYPE (other), TREE_TYPE (decl))) in update_binding() 2439 if (same_type_p (TREE_TYPE (old), TREE_TYPE (decl))) in update_binding() 2729 && (same_type_p (TREE_TYPE (old), TREE_TYPE (decl)) in check_local_shadow() 4248 || !same_type_p (current_class_type, t)) in push_scope() [all …]
|
| HD | mangle.c | 267 && same_type_p (TREE_PURPOSE (NODE1), TREE_PURPOSE (NODE2))) \ 462 && 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() 3405 gcc_assert (!same_type_p (TREE_TYPE (value), boolean_type_node) in write_template_arg_literal()
|
| HD | typeck2.c | 440 && same_type_p (ptype, current_class_type)) in cxx_incomplete_type_inform() 1956 if (!same_type_p (ctype, objtype)) in build_m_component_ref() 2245 if (same_type_p (TREE_VALUE (probe), spec)) in add_exception_specifier() 2313 if (same_type_p (TREE_VALUE (probe), spec)) in merge_exception_specifiers()
|
| HD | class.c | 1060 && (!same_type_p (TREE_TYPE (fn_type), in add_method() 1079 || same_type_p (TREE_TYPE (fn_type), in add_method() 2184 if (!same_type_p (TREE_TYPE (vtable), atype)) in layout_vtable_decl() 2213 && same_type_p (DECL_CONV_FN_TYPE (fndecl), in same_signature_p() 3764 if (same_type_p (TREE_VALUE (t), type)) in check_subobject_offset() 4680 gcc_assert (same_type_p (TREE_TYPE (decl_parms), in adjust_clone_args() 5329 && same_type_p (TREE_VALUE (second_parm), size_type_node)) in type_requires_array_cookie() 6902 && same_type_p (TYPE_MAIN_VARIANT (TREE_TYPE (x)), t)) in finish_struct_1() 7102 if (f && same_type_p (TREE_TYPE (f), size_type_node)) in finish_struct() 7496 if (same_type_p (c, t)) in currently_open_class() [all …]
|