Home | History | Annotate | Download | only in AST

Lines Matching defs:Field2

830                                      FieldDecl *Field1, FieldDecl *Field2) {
831 RecordDecl *Owner2 = cast<RecordDecl>(Field2->getDeclContext());
837 Field2->isAnonymousStructOrUnion()) {
839 RecordDecl *D2 = Field2->getType()->castAs<RecordType>()->getDecl();
844 Field1->getType(), Field2->getType())) {
848 Context.Diag2(Field2->getLocation(), diag::note_odr_field)
849 << Field2->getDeclName() << Field2->getType();
856 if (Field1->isBitField() != Field2->isBitField()) {
864 Context.Diag2(Field2->getLocation(), diag::note_odr_not_bit_field)
865 << Field2->getDeclName();
867 Context.Diag2(Field2->getLocation(), diag::note_odr_bit_field)
868 << Field2->getDeclName() << Field2->getType()
869 << Field2->getBitWidthValue(Context.C2);
880 unsigned Bits2 = Field2->getBitWidthValue(Context.C2);
886 Context.Diag2(Field2->getLocation(), diag::note_odr_bit_field)
887 << Field2->getDeclName() << Field2->getType() << Bits2;
1053 RecordDecl::field_iterator Field2 = D2->field_begin(),
1058 ++Field1, ++Field2) {
1059 if (Field2 == Field2End) {
1070 if (!IsStructurallyEquivalent(Context, *Field1, *Field2))
1074 if (Field2 != Field2End) {
1078 Context.Diag2(Field2->getLocation(), diag::note_odr_field)
1079 << Field2->getDeclName() << Field2->getType();