Lines Matching refs:RecordDecl
820 const auto *Owner2 = cast<RecordDecl>(Field2->getDeclContext()); in IsStructurallyEquivalent()
827 RecordDecl *D1 = Field1->getType()->castAs<RecordType>()->getDecl(); in IsStructurallyEquivalent()
828 RecordDecl *D2 = Field2->getType()->castAs<RecordType>()->getDecl(); in IsStructurallyEquivalent()
966 RecordDecl *D1, RecordDecl *D2) { in IsStructurallyEquivalent()
1144 RecordDecl::field_iterator Field2 = D2->field_begin(), in IsStructurallyEquivalent()
1146 for (RecordDecl::field_iterator Field1 = D1->field_begin(), in IsStructurallyEquivalent()
1446 StructuralEquivalenceContext::findUntaggedStructOrUnionIndex(RecordDecl *Anon) { in findUntaggedStructOrUnionIndex()
1450 const auto *Owner = dyn_cast<RecordDecl>(Anon->getDeclContext()); in findUntaggedStructOrUnionIndex()
1475 const RecordDecl *RecDecl = RecType->getDecl(); in findUntaggedStructOrUnionIndex()
1532 if (auto *Record1 = dyn_cast<RecordDecl>(D1)) { in CheckKindSpecificEquivalence()
1533 if (auto *Record2 = dyn_cast<RecordDecl>(D2)) { in CheckKindSpecificEquivalence()