Lines Matching refs:Field1
951 FieldDecl *Field1, FieldDecl *Field2) { in IsStructurallyEquivalent() argument
957 if (Field1->isAnonymousStructOrUnion() && in IsStructurallyEquivalent()
959 RecordDecl *D1 = Field1->getType()->castAs<RecordType>()->getDecl(); in IsStructurallyEquivalent()
965 IdentifierInfo *Name1 = Field1->getIdentifier(); in IsStructurallyEquivalent()
971 Field1->getType(), Field2->getType())) { in IsStructurallyEquivalent()
977 Context.Diag1(Field1->getLocation(), diag::note_odr_field) in IsStructurallyEquivalent()
978 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
983 if (Field1->isBitField() != Field2->isBitField()) { in IsStructurallyEquivalent()
987 if (Field1->isBitField()) { in IsStructurallyEquivalent()
988 Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field) in IsStructurallyEquivalent()
989 << Field1->getDeclName() << Field1->getType() in IsStructurallyEquivalent()
990 << Field1->getBitWidthValue(Context.C1); in IsStructurallyEquivalent()
997 Context.Diag1(Field1->getLocation(), diag::note_odr_not_bit_field) in IsStructurallyEquivalent()
998 << Field1->getDeclName(); in IsStructurallyEquivalent()
1004 if (Field1->isBitField()) { in IsStructurallyEquivalent()
1006 unsigned Bits1 = Field1->getBitWidthValue(Context.C1); in IsStructurallyEquivalent()
1015 Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field) in IsStructurallyEquivalent()
1016 << Field1->getDeclName() << Field1->getType() << Bits1; in IsStructurallyEquivalent()
1196 for (RecordDecl::field_iterator Field1 = D1->field_begin(), in IsStructurallyEquivalent() local
1198 Field1 != Field1End; in IsStructurallyEquivalent()
1199 ++Field1, ++Field2) { in IsStructurallyEquivalent()
1204 Context.Diag1(Field1->getLocation(), diag::note_odr_field) in IsStructurallyEquivalent()
1205 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
1211 if (!IsStructurallyEquivalent(Context, *Field1, *Field2)) in IsStructurallyEquivalent()