Home | History | Annotate | Download | only in AST

Lines Matching refs:Field1

830                                      FieldDecl *Field1, FieldDecl *Field2) {
836 if (Field1->isAnonymousStructOrUnion() &&
838 RecordDecl *D1 = Field1->getType()->castAs<RecordType>()->getDecl();
844 Field1->getType(), Field2->getType())) {
850 Context.Diag1(Field1->getLocation(), diag::note_odr_field)
851 << Field1->getDeclName() << Field1->getType();
856 if (Field1->isBitField() != Field2->isBitField()) {
860 if (Field1->isBitField()) {
861 Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field)
862 << Field1->getDeclName() << Field1->getType()
863 << Field1->getBitWidthValue(Context.C1);
870 Context.Diag1(Field1->getLocation(), diag::note_odr_not_bit_field)
871 << Field1->getDeclName();
877 if (Field1->isBitField()) {
879 unsigned Bits1 = Field1->getBitWidthValue(Context.C1);
888 Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field)
889 << Field1->getDeclName() << Field1->getType() << Bits1;
1055 for (RecordDecl::field_iterator Field1 = D1->field_begin(),
1057 Field1 != Field1End;
1058 ++Field1, ++Field2) {
1063 Context.Diag1(Field1->getLocation(), diag::note_odr_field)
1064 << Field1->getDeclName() << Field1->getType();
1070 if (!IsStructurallyEquivalent(Context, *Field1, *Field2))