Lines Matching refs:Field1
844 FieldDecl *Field1, FieldDecl *Field2) {
850 if (Field1->isAnonymousStructOrUnion() &&
852 RecordDecl *D1 = Field1->getType()->castAs<RecordType>()->getDecl();
858 IdentifierInfo *Name1 = Field1->getIdentifier();
864 Field1->getType(), Field2->getType())) {
870 Context.Diag1(Field1->getLocation(), diag::note_odr_field)
871 << Field1->getDeclName() << Field1->getType();
876 if (Field1->isBitField() != Field2->isBitField()) {
880 if (Field1->isBitField()) {
881 Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field)
882 << Field1->getDeclName() << Field1->getType()
883 << Field1->getBitWidthValue(Context.C1);
890 Context.Diag1(Field1->getLocation(), diag::note_odr_not_bit_field)
891 << Field1->getDeclName();
897 if (Field1->isBitField()) {
899 unsigned Bits1 = Field1->getBitWidthValue(Context.C1);
908 Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field)
909 << Field1->getDeclName() << Field1->getType() << Bits1;
1075 for (RecordDecl::field_iterator Field1 = D1->field_begin(),
1077 Field1 != Field1End;
1078 ++Field1, ++Field2) {
1083 Context.Diag1(Field1->getLocation(), diag::note_odr_field)
1084 << Field1->getDeclName() << Field1->getType();
1090 if (!IsStructurallyEquivalent(Context, *Field1, *Field2))