Lines Matching refs:ty2
25476 const pointer_type_def* ty2 = is_pointer_type(second); in types_have_similar_structure() local
25478 ty2->get_pointed_to_type(), in types_have_similar_structure()
25485 const reference_type_def* ty2 = is_reference_type(second); in types_have_similar_structure() local
25486 if (ty1->is_lvalue() != ty2->is_lvalue()) in types_have_similar_structure()
25489 ty2->get_pointed_to_type(), in types_have_similar_structure()
25495 const type_decl* ty2 = is_type_decl(second); in types_have_similar_structure() local
25497 if (ty1->get_size_in_bits() != ty2->get_size_in_bits()) in types_have_similar_structure()
25500 return ty1->get_name() == ty2->get_name(); in types_have_similar_structure()
25505 const enum_type_decl* ty2 = is_enum_type(second); in types_have_similar_structure() local
25507 if (ty1->get_size_in_bits() != ty2->get_size_in_bits()) in types_have_similar_structure()
25511 == get_name(ty2->get_underlying_type())); in types_have_similar_structure()
25516 const class_decl* ty2 = is_class_type(second); in types_have_similar_structure() local
25517 if (!ty1->get_is_anonymous() && !ty2->get_is_anonymous() in types_have_similar_structure()
25518 && ty1->get_name() != ty2->get_name()) in types_have_similar_structure()
25523 if ((ty1->get_size_in_bits() != ty2->get_size_in_bits()) in types_have_similar_structure()
25525 != ty2->get_non_static_data_members().size())) in types_have_similar_structure()
25530 j = ty2->get_non_static_data_members().begin(); in types_have_similar_structure()
25532 && j != ty2->get_non_static_data_members().end()); in types_have_similar_structure()
25549 const union_decl* ty2 = is_union_type(second); in types_have_similar_structure() local
25550 if (!ty1->get_is_anonymous() && !ty2->get_is_anonymous() in types_have_similar_structure()
25551 && ty1->get_name() != ty2->get_name()) in types_have_similar_structure()
25555 return ty1->get_size_in_bits() == ty2->get_size_in_bits(); in types_have_similar_structure()
25562 const array_type_def* ty2 = is_array_type(second); in types_have_similar_structure() local
25564 if (ty1->get_size_in_bits() != ty2->get_size_in_bits() in types_have_similar_structure()
25565 || ty1->get_dimension_count() != ty2->get_dimension_count() in types_have_similar_structure()
25567 ty2->get_element_type(), in types_have_similar_structure()
25576 const array_type_def::subrange_type *ty2 = is_subrange_type(second); in types_have_similar_structure() local
25577 if (ty1->get_upper_bound() != ty2->get_upper_bound() in types_have_similar_structure()
25578 || ty1->get_lower_bound() != ty2->get_lower_bound() in types_have_similar_structure()
25579 || ty1->get_language() != ty2->get_language() in types_have_similar_structure()
25581 ty2->get_underlying_type(), in types_have_similar_structure()
25590 const function_type* ty2 = is_function_type(second); in types_have_similar_structure() local
25592 ty2->get_return_type(), in types_have_similar_structure()
25596 if (ty1->get_parameters().size() != ty2->get_parameters().size()) in types_have_similar_structure()
25601 j = ty2->get_parameters().begin(); in types_have_similar_structure()
25603 && j != ty2->get_parameters().end()); in types_have_similar_structure()