Lines Matching defs:src_type
4762 check_for_casting_away_constness (tree src_type, tree dest_type,
4766 if (diag_fn && casts_away_constness (src_type, dest_type))
4768 description, src_type, dest_type);
5314 tree src_type;
5348 src_type = TREE_TYPE (expr);
5350 if (TREE_CODE (src_type) == REFERENCE_TYPE)
5351 src_type = TREE_TYPE (src_type);
5366 src_type, dst_type);
5370 src_type = build_pointer_type (src_type);
5378 src_type = type_decays_to (src_type);
5379 if (src_type == error_mark_node)
5383 if ((TYPE_PTR_P (src_type) || TYPE_PTRMEM_P (src_type))
5384 && comp_ptr_ttypes_const (dst_type, src_type))
5392 check_for_casting_away_constness (src_type, dst_type,
5417 src_type, dst_type);