Home
last modified time | relevance | path

Searched refs:comptypes (Results 1 – 25 of 71) sorted by relevance

123

/netbsd-src/external/gpl3/gcc/dist/gcc/objcp/
H A Dobjcp-decl.cc93 return comptypes (type1, type2, COMPARE_STRICT); in objcp_comptypes()
H A Dobjcp-decl.h50 #define comptypes(type1, type2) \ macro
H A DChangeLog502 * objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes.
508 * objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objcp/
H A Dobjcp-decl.c93 return comptypes (type1, type2, COMPARE_STRICT); in objcp_comptypes()
H A Dobjcp-decl.h50 #define comptypes(type1, type2) \ macro
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-decl.c1691 if (!comptypes (TYPE_MAIN_VARIANT (oldrettype), in match_builtin_function_types()
1735 if (!comptypes (last_structptr_types[j], newtype)) in match_builtin_function_types()
1746 if (j == nbst && !comptypes (oldtype, newtype)) in match_builtin_function_types()
1756 if (!comptypes (oldref, newref)) in match_builtin_function_types()
1797 || !comptypes (TREE_TYPE (oldtype), TREE_TYPE (newtype)) in diagnose_arglist_conflict()
1880 else if (!comptypes (oldargtype, newargtype)) in validate_proto_after_old_defn()
1981 if (!comptypes (oldtype, newtype)) in diagnose_mismatched_decls()
1998 if (trytype && comptypes (newtype, trytype)) in diagnose_mismatched_decls()
2586 if (!comptypes (oldtype, TREE_TYPE (newdecl))) in merge_decls()
3006 else if (comptypes (TREE_TYPE (old_decl), TREE_TYPE (new_decl))) in warn_if_shadowing()
[all …]
H A Dc-objc-common.c377 return comptypes (TYPE_MAIN_VARIANT (x), TYPE_MAIN_VARIANT (y)); in c_types_compatible_p()
H A Dc-typeck.c593 if (comptypes (mv3, mv2)) in composite_type()
618 if (comptypes (mv3, mv1)) in composite_type()
1034 comptypes (tree type1, tree type2) in comptypes() function
1301 val_ped = comptypes (mvl, mvr); in comp_target_types()
3156 && !comptypes (fntype, TREE_TYPE (tem))) in build_function_call_vec()
5760 return comptypes (t1, t2); in c_safe_arg_type_equiv_p()
5850 && comptypes (TYPE_MAIN_VARIANT (TREE_TYPE (field)), in build_c_cast()
6353 && comptypes (type, fieldtype)) in find_anonymous_field_with_type()
6407 if (comptypes (lhs_main_type, fieldtype)) in convert_to_anonymous_field()
6937 && comptypes (type, rhstype)) in convert_for_assignment()
[all …]
H A Dc-tree.h669 extern int comptypes (tree, tree);
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A Dc-decl.cc1703 if (!comptypes (TYPE_MAIN_VARIANT (oldrettype), in match_builtin_function_types()
1750 if (!comptypes (last_structptr_types[j], newtype)) in match_builtin_function_types()
1761 if (j == nbst && !comptypes (oldtype, newtype)) in match_builtin_function_types()
1771 if (!comptypes (oldref, newref)) in match_builtin_function_types()
1812 || !comptypes (TREE_TYPE (oldtype), TREE_TYPE (newtype)) in diagnose_arglist_conflict()
1895 else if (!comptypes (oldargtype, newargtype)) in validate_proto_after_old_defn()
2003 if (!comptypes (oldtype, newtype)) in diagnose_mismatched_decls()
2020 if (trytype && comptypes (newtype, trytype)) in diagnose_mismatched_decls()
2609 if (!comptypes (oldtype, TREE_TYPE (newdecl))) in merge_decls()
3047 else if (comptypes (TREE_TYPE (old_decl), TREE_TYPE (new_decl))) in warn_if_shadowing()
[all …]
H A Dc-objc-common.cc368 return comptypes (TYPE_MAIN_VARIANT (x), TYPE_MAIN_VARIANT (y)); in c_types_compatible_p()
H A Dc-typeck.cc597 if (comptypes (mv3, mv2)) in composite_type()
622 if (comptypes (mv3, mv1)) in composite_type()
1044 comptypes (tree type1, tree type2) in comptypes() function
1315 val_ped = comptypes (mvl, mvr); in comp_target_types()
3181 && !comptypes (fntype, TREE_TYPE (tem))) in build_function_call_vec()
5878 return comptypes (t1, t2); in c_safe_arg_type_equiv_p()
5968 && comptypes (TYPE_MAIN_VARIANT (TREE_TYPE (field)), in build_c_cast()
6469 && comptypes (type, fieldtype)) in find_anonymous_field_with_type()
6523 if (comptypes (lhs_main_type, fieldtype)) in convert_to_anonymous_field()
7050 && comptypes (type, rhstype)) in convert_for_assignment()
[all …]
H A Dc-tree.h686 extern int comptypes (tree, tree);
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A DChangeLog-20082524 (comptypes): New; called from the C/C++ common bits to perform
2526 (cp_comptypes): Renamed from comptypes, which is already used,
2534 (comptypes): Rename to cp_comptypes.
2860 (comptypes): New; called from the C/C++ common bits to perform
2862 (cp_comptypes): Renamed from comptypes, which is already used,
2870 (comptypes): Rename to cp_comptypes.
H A DChangeLog-1998664 (comptypes): Likewise.
847 * call.c (standard_conversion): Use them, in place of comptypes
888 (comptypes): Update comments. Use new flags.
1195 (comptypes): Likewise.
1716 * decl.c (decls_match): Use comptypes directly; ignore
1952 * typeck.c (comptypes): When comparing pointer types, check
3167 * typeck.c (convert_for_assignment): Use comptypes.
3307 * typeck.c (comptypes, case TEMPLATE_TEMPLATE_PARM): Add parameter
3930 * typeck.c (comptypes): If strict, TYPE_FOR_JAVA must match.
4020 * friend.c (is_friend): Use comptypes, rather than == to compare
[all …]
H A DChangeLog-20071700 * typeck.c (comptypes): When USE_CANONICAL_TYPES, use the
1997 * typeck.c (comptypes): Don't consider rvalue and lvalue
2600 (comptypes): Compare template parameter packs and
3291 * typeck.c (structural_comptypes): Renamed from "comptypes".
3292 (comptypes): Use canonical type information to perform fast type
H A DChangeLog-19961189 * typeck.c (comptypes): Just check DERIVED_FROM_P, not UNIQUELY.
1567 * tree.c (vec_binfo_member): Use comptypes instead of comparing
2888 * typeck.c (comptypes): Handle TYPENAME_TYPE.
2987 * pt.c (comp_template_args): Use comptypes rather than just
3408 (comptypes): Fix calls.
3549 * typeck.c (comptypes): Default COMP_TYPE_ATTRIBUTES to 1, to
H A DChangeLog-1995527 * typeck.c (comptypes): Tighten up comparisons of template type
548 * call.c (convert_harshness): Use comptypes, not ==, to check if
1153 * typeck.c (comptypes, case OFFSET_REF): If either offset basetype
1261 * typeck.c (comptypes): Don't ignore method quals.
2736 * typeck.c (comptypes): Be more picky about comparing UPTs.
3264 (convert_to_reference): Use comp_target_types instead of comptypes
H A DChangeLog-20031352 * typeck.c (comptypes): Don't ICE when its first argument is
3749 * typeck.c (comptypes): Expect types.
3892 (comptypes): Rearrange STRICT handling.
3902 (cp_tree_equal, comptypes): Return a bool.
3903 * cvt.c (convert_to_reference): Adjust comptypes call.
3911 (comptypes): Return bool. Adjust strict handling. Remove relaxed
4330 * typeck.c (comptypes): Do not check COMPARE_NO_ATTRIBUTES.
6157 * typeck.c (comptypes): Resolve typename types as appropriate.
H A Dtypeck.cc1386 if (!comptypes (TYPE_OFFSET_BASETYPE (t1), TYPE_OFFSET_BASETYPE (t2), in structural_comptypes()
1527 comptypes (tree t1, tree t2, int strict) in comptypes() function
8387 && (comptypes (TREE_TYPE (intype), TREE_TYPE (type), in build_reinterpret_cast_1()
10929 && comptypes (TYPE_OFFSET_BASETYPE (to), in ptr_reasonably_similar()
10950 return comptypes in ptr_reasonably_similar()
H A Dcvt.cc496 && (comptypes (TREE_TYPE (intype), type, in convert_to_reference()
/netbsd-src/external/gpl3/gcc/dist/gcc/objc/
H A Dobjc-act.cc1274 if (!comptypes (TREE_TYPE (x), TREE_TYPE (decl)) in objc_add_property_declaration()
2563 if (!comptypes (TREE_TYPE (ltyp), TREE_TYPE (rtyp)) in objc_compare_types()
2585 if (!comptypes (rtyp, ltyp) in objc_compare_types()
4776 if (!comptypes (t1, t2) in check_ivars()
7802 if (!comptypes (TREE_TYPE (property), type_of_ivar) in objc_add_synthesize_declaration_for_property()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/
H A Dobjc-act.c1236 if (!comptypes (TREE_TYPE (x), TREE_TYPE (decl)) in objc_add_property_declaration()
2496 if (!comptypes (TREE_TYPE (ltyp), TREE_TYPE (rtyp)) in objc_compare_types()
2518 if (!comptypes (rtyp, ltyp) in objc_compare_types()
4698 if (!comptypes (t1, t2) in check_ivars()
7702 if (!comptypes (TREE_TYPE (property), type_of_ivar) in objc_add_synthesize_declaration_for_property()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dcvt.c496 && (comptypes (TREE_TYPE (intype), type, in convert_to_reference()
H A Dtypeck.c1354 if (!comptypes (TYPE_OFFSET_BASETYPE (t1), TYPE_OFFSET_BASETYPE (t2), in structural_comptypes()
1526 comptypes (tree t1, tree t2, int strict) in comptypes() function
7850 && (comptypes (TREE_TYPE (intype), TREE_TYPE (type), in build_reinterpret_cast_1()
10322 && comptypes (TYPE_OFFSET_BASETYPE (to), in ptr_reasonably_similar()
10343 return comptypes in ptr_reasonably_similar()

123