Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/gcc/
H A Dc-objc-common.c258 return comptypes (TYPE_MAIN_VARIANT (x), TYPE_MAIN_VARIANT (y)); in c_types_compatible_p()
H A Dc-typeck.c474 if (comptypes (mv3, mv2)) in composite_type()
499 if (comptypes (mv3, mv1)) in composite_type()
782 comptypes (tree type1, tree type2) in comptypes() function
977 val = comptypes (mvl, mvr); in comp_target_types()
2405 && !comptypes (fntype, TREE_TYPE (tem))) in build_function_call()
3637 if (comptypes (TYPE_MAIN_VARIANT (TREE_TYPE (field)), in build_c_cast()
4235 && comptypes (type, rhstype)) in convert_for_assignment()
4249 if (comptypes (TYPE_MAIN_VARIANT (memb_type), in convert_for_assignment()
5039 && comptypes (TREE_TYPE (inside_init), type)) in digest_init()
5041 && comptypes (TREE_TYPE (inside_init), type)) in digest_init()
[all …]
H A Dc-decl.c1059 || !comptypes (TREE_TYPE (oldtype), TREE_TYPE (newtype)) in diagnose_arglist_conflict()
1136 else if (!comptypes (oldargtype, newargtype)) in validate_proto_after_old_defn()
1231 if (!comptypes (oldtype, newtype)) in diagnose_mismatched_decls()
1240 if (trytype && comptypes (newtype, trytype)) in diagnose_mismatched_decls()
1687 if (!comptypes (oldtype, TREE_TYPE (newdecl))) in merge_decls()
2181 if (comptypes (vistype, type)) in pushdecl()
2283 if (comptypes (vistype, type)) in pushdecl()
2456 if (!comptypes (newtype, TREE_TYPE (decl))) in implicitly_declare()
2465 if (!comptypes (newtype, TREE_TYPE (decl))) in implicitly_declare()
6680 && comptypes (TREE_TYPE (TREE_TYPE (decl1)), in start_function()
[all …]
H A Dc-tree.h546 extern int comptypes (tree, tree);
H A DChangeLog949 * c-typeck.c (convert_for_assignment): Call comptypes for
H A Dc-common.c1141 && comptypes (TREE_TYPE (t1), TREE_TYPE (t2))) in vector_types_convertible_p()
H A Dc-parser.c5663 expr.value = comptypes (e1, e2) in c_parser_postfix_expression()
/freebsd-12.1/contrib/gcc/cp/
H A Dtypeck.c954 comptypes (tree t1, tree t2, int strict) in comptypes() function
1052 if (!comptypes (TYPE_OFFSET_BASETYPE (t1), TYPE_OFFSET_BASETYPE (t2), in comptypes()
5289 && (comptypes (TREE_TYPE (intype), TREE_TYPE (type), in build_reinterpret_cast_1()
6688 return comptypes (t1, t2, COMPARE_STRICT); in types_are_block_compatible()
7059 && comptypes (TYPE_OFFSET_BASETYPE (to), in ptr_reasonably_similar()
7076 return comptypes in ptr_reasonably_similar()
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.
4981 * typeck.c (comptypes): Use comp_template_args, rather than
5144 * pt.c (unify): Use comptypes to compare type args.
6190 * call.c (reference_binding): Use comptypes when comparing
[all …]
H A Dcvt.c516 && (comptypes (TREE_TYPE (intype), type, in convert_to_reference()
H A Dcp-tree.h288 comptypes ((TYPE1), (TYPE2), COMPARE_STRICT)
3559 comptypes ((TYPE1), (TYPE2), COMPARE_BASE)
4504 extern bool comptypes (tree, tree, int);
H A DChangeLog.apple524 * typeck.c (comptypes): block-pointer types'
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-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-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 DChangeLog-19933 * cp-init.c (expand_vec_init): Remove comptypes test, as it is too
H A DChangeLog-2004803 * typeck.c (comptypes): Likewise.
2233 (comptypes): For RECORD_TYPEs, call objc_comptypes() and
2591 * typeck.c (type_after_usual_arithmetic_conversions, comptypes,
5671 * typeck.c (comptypes): Use TYPE_ORIG_SIZE_TYPE, not TYPE_DOMAIN.
6482 * typeck.c (comptypes): Avoid calling cp_type_quals.
H A DChangeLog-19941627 * class.c (instantiate_type): Use comptypes rather than relying on
2473 (comptypes): Deal with UPTs.
3789 comptypes.
3876 * pt.c (tsubst): Use comptypes rather than == to compare the
4025 * typeck.c (comptypes): Simplify. All TEMPLATE_TYPE_PARMs are
H A DChangeLog-199711 * typeck.c (comptypes): Likewise.
1278 * typeck.c (comptypes): Check the levels, as well as the indices,
H A DChangeLog-20021849 (comptypes): Likewise.
3356 * typeck.c (comptypes) [FUNCTION_TYPE]: Don't compare exception
3431 * typeck.c (comptypes): Similarly.
H A DChangeLog-20001445 * typeck.c (comptypes): Likewise. Check tree code instead of
2628 * typeck.c (comptypes): Use TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL.
5774 * typeck.c (comptypes): Treat sizetype like its language equivalent.
5849 * typeck.c (comptypes): sizetype is same as equivalent integer type.
H A DChangeLog-19993933 (comptypes): Adjust for comp_except_specs.
4164 (comptypes): Tidy. Handle COMPLEX_TYPE.
4419 * typeck.c (comptypes): Simplify C code in look_hard.
5447 * typeck.c (comptypes): If we get it, ignore attributes.
H A DChangeLog-2001656 * typeck.c (comptypes): Likewise.
1602 (comptypes): Use target.comp_type_attributes.
H A DChangeLog5639 (comptypes): Do not call objc_comptypes().
6238 * typeck.c (comptypes): First determine if the types are compatible
6974 * typeck.c (comptypes): Handle return code from objc_comptypes
H A Ddecl.c1027 types_match = comptypes (TREE_TYPE (newdecl), in decls_match()

12