void c_typecastt::implicit_typecast( exprt &expr, const typet &type) { typet src_type=follow_with_qualifiers(expr.type()), dest_type=follow_with_qualifiers(type); implicit_typecast_followed(expr, src_type, dest_type); }
void c_typecastt::implicit_typecast( exprt &expr, const typet &type) { typet src_type=follow_with_qualifiers(expr.type()), dest_type=follow_with_qualifiers(type); typet type_qual=type; c_qualifierst qualifiers(dest_type); qualifiers.write(type_qual); implicit_typecast_followed(expr, src_type, type_qual, dest_type); }