Lines Matching refs:ty2
23760 const pointer_type_def* ty2 = is_pointer_type(second); in types_have_similar_structure() local
23762 ty2->get_pointed_to_type(), in types_have_similar_structure()
23769 const reference_type_def* ty2 = is_reference_type(second); in types_have_similar_structure() local
23770 if (ty1->is_lvalue() != ty2->is_lvalue()) in types_have_similar_structure()
23773 ty2->get_pointed_to_type(), in types_have_similar_structure()
23779 const type_decl* ty2 = is_type_decl(second); in types_have_similar_structure() local
23781 if (ty1->get_size_in_bits() != ty2->get_size_in_bits()) in types_have_similar_structure()
23784 return ty1->get_name() == ty2->get_name(); in types_have_similar_structure()
23789 const enum_type_decl* ty2 = is_enum_type(second); in types_have_similar_structure() local
23791 if (ty1->get_size_in_bits() != ty2->get_size_in_bits()) in types_have_similar_structure()
23795 == get_name(ty2->get_underlying_type())); in types_have_similar_structure()
23800 const class_decl* ty2 = is_class_type(second); in types_have_similar_structure() local
23801 if (!ty1->get_is_anonymous() && !ty2->get_is_anonymous() in types_have_similar_structure()
23802 && ty1->get_name() != ty2->get_name()) in types_have_similar_structure()
23807 if ((ty1->get_size_in_bits() != ty2->get_size_in_bits()) in types_have_similar_structure()
23809 != ty2->get_non_static_data_members().size())) in types_have_similar_structure()
23814 j = ty2->get_non_static_data_members().begin(); in types_have_similar_structure()
23816 && j != ty2->get_non_static_data_members().end()); in types_have_similar_structure()
23833 const union_decl* ty2 = is_union_type(second); in types_have_similar_structure() local
23834 if (!ty1->get_is_anonymous() && !ty2->get_is_anonymous() in types_have_similar_structure()
23835 && ty1->get_name() != ty2->get_name()) in types_have_similar_structure()
23839 return ty1->get_size_in_bits() == ty2->get_size_in_bits(); in types_have_similar_structure()
23846 const array_type_def* ty2 = is_array_type(second); in types_have_similar_structure() local
23848 if (ty1->get_size_in_bits() != ty2->get_size_in_bits() in types_have_similar_structure()
23849 || ty1->get_dimension_count() != ty2->get_dimension_count() in types_have_similar_structure()
23851 ty2->get_element_type(), in types_have_similar_structure()
23860 const array_type_def::subrange_type *ty2 = is_subrange_type(second); in types_have_similar_structure() local
23861 if (ty1->get_upper_bound() != ty2->get_upper_bound() in types_have_similar_structure()
23862 || ty1->get_lower_bound() != ty2->get_lower_bound() in types_have_similar_structure()
23863 || ty1->get_language() != ty2->get_language() in types_have_similar_structure()
23865 ty2->get_underlying_type(), in types_have_similar_structure()
23874 const function_type* ty2 = is_function_type(second); in types_have_similar_structure() local
23876 ty2->get_return_type(), in types_have_similar_structure()
23880 if (ty1->get_parameters().size() != ty2->get_parameters().size()) in types_have_similar_structure()
23885 j = ty2->get_parameters().begin(); in types_have_similar_structure()
23887 && j != ty2->get_parameters().end()); in types_have_similar_structure()