Lines Matching refs:ty1
26054 if (const pointer_type_def* ty1 = is_pointer_type(first)) in types_have_similar_structure() local
26057 return types_have_similar_structure(ty1->get_pointed_to_type(), in types_have_similar_structure()
26063 if (const reference_type_def* ty1 = is_reference_type(first)) in types_have_similar_structure() local
26066 if (ty1->is_lvalue() != ty2->is_lvalue()) in types_have_similar_structure()
26068 return types_have_similar_structure(ty1->get_pointed_to_type(), in types_have_similar_structure()
26073 if (const type_decl* ty1 = is_type_decl(first)) in types_have_similar_structure() local
26077 if (ty1->get_size_in_bits() != ty2->get_size_in_bits()) in types_have_similar_structure()
26080 return ty1->get_name() == ty2->get_name(); in types_have_similar_structure()
26083 if (const enum_type_decl* ty1 = is_enum_type(first)) in types_have_similar_structure() local
26087 if (ty1->get_size_in_bits() != ty2->get_size_in_bits()) in types_have_similar_structure()
26090 return (get_name(ty1->get_underlying_type()) in types_have_similar_structure()
26094 if (const class_decl* ty1 = is_class_type(first)) in types_have_similar_structure() local
26097 if (!ty1->get_is_anonymous() && !ty2->get_is_anonymous() in types_have_similar_structure()
26098 && ty1->get_name() != ty2->get_name()) in types_have_similar_structure()
26103 if ((ty1->get_size_in_bits() != ty2->get_size_in_bits()) in types_have_similar_structure()
26104 || (ty1->get_non_static_data_members().size() in types_have_similar_structure()
26109 i = ty1->get_non_static_data_members().begin(), in types_have_similar_structure()
26111 (i != ty1->get_non_static_data_members().end() in types_have_similar_structure()
26127 if (const union_decl* ty1 = is_union_type(first)) in types_have_similar_structure() local
26130 if (!ty1->get_is_anonymous() && !ty2->get_is_anonymous() in types_have_similar_structure()
26131 && ty1->get_name() != ty2->get_name()) in types_have_similar_structure()
26135 return ty1->get_size_in_bits() == ty2->get_size_in_bits(); in types_have_similar_structure()
26140 if (const array_type_def* ty1 = is_array_type(first)) in types_have_similar_structure() local
26144 if (ty1->get_size_in_bits() != ty2->get_size_in_bits() in types_have_similar_structure()
26145 || ty1->get_dimension_count() != ty2->get_dimension_count() in types_have_similar_structure()
26146 || !types_have_similar_structure(ty1->get_element_type(), in types_have_similar_structure()
26154 if (const array_type_def::subrange_type *ty1 = is_subrange_type(first)) in types_have_similar_structure() local
26157 if (ty1->get_upper_bound() != ty2->get_upper_bound() in types_have_similar_structure()
26158 || ty1->get_lower_bound() != ty2->get_lower_bound() in types_have_similar_structure()
26159 || ty1->get_language() != ty2->get_language() in types_have_similar_structure()
26160 || !types_have_similar_structure(ty1->get_underlying_type(), in types_have_similar_structure()
26168 if (const function_type* ty1 = is_function_type(first)) in types_have_similar_structure() local
26171 if (!types_have_similar_structure(ty1->get_return_type(), in types_have_similar_structure()
26176 if (ty1->get_parameters().size() != ty2->get_parameters().size()) in types_have_similar_structure()
26180 i = ty1->get_parameters().begin(), in types_have_similar_structure()
26182 (i != ty1->get_parameters().end() in types_have_similar_structure()