Lines Matching defs:type1
1143 at_least_as_qualified_p (tree type1, tree type2)
1145 int q1 = cp_type_quals (type1);
1156 comp_cv_qualification (tree type1, tree type2)
1158 int q1 = cp_type_quals (type1);
1177 comp_cv_qual_signature (tree type1, tree type2)
1179 if (comp_ptr_ttypes_real (type2, type1, -1))
1181 else if (comp_ptr_ttypes_real (type1, type2, -1))
3093 tree type0, type1;
3191 type1 = TREE_TYPE (op1);
3196 code1 = TREE_CODE (type1);
3205 = targetm.invalid_binary_op (code, type0, type1)))
3218 TREE_TYPE (type1)))
3219 return pointer_diff (op0, op1, common_type (type0, type1));
3417 || (TYPE_PTRMEM_P (type0) && TYPE_PTRMEM_P (type1)))
3419 result_type = composite_pointer_type (type0, type1, op0, op1,
3426 else if ((code1 == POINTER_TYPE || code1 == BLOCK_POINTER_TYPE || TYPE_PTRMEM_P (type1))
3428 result_type = type1;
3438 result_type = type1;
3447 else if (TYPE_PTRMEMFUNC_P (type1) && null_ptr_cst_p (op0))
3449 else if (TYPE_PTRMEMFUNC_P (type0) && TYPE_PTRMEMFUNC_P (type1)
3450 && same_type_p (type0, type1))
3497 type1));
3498 gcc_assert (!TYPE_PTRMEMFUNC_P (type1)
3499 || !same_type_p (TYPE_PTRMEMFUNC_FN_TYPE (type1),
3511 result_type = composite_pointer_type (type0, type1, op0, op1,
3529 result_type = composite_pointer_type (type0, type1, op0, op1,
3536 result_type = type1;
3544 result_type = type1;
3579 if (!tree_int_cst_equal (TYPE_SIZE (type0), TYPE_SIZE (type1))
3581 TREE_TYPE (type1)))
3583 binary_op_error (code, type0, type1);
3593 result_type = common_type (type0, type1);