reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
951 if (Field1->isAnonymousStructOrUnion() && 953 RecordDecl *D1 = Field1->getType()->castAs<RecordType>()->getDecl(); 959 IdentifierInfo *Name1 = Field1->getIdentifier(); 969 Context.Diag1(Field1->getLocation(), diag::note_odr_field_name) 970 << Field1->getDeclName(); 975 if (!IsStructurallyEquivalent(Context, Field1->getType(), 984 Context.Diag1(Field1->getLocation(), diag::note_odr_field) 985 << Field1->getDeclName() << Field1->getType(); 985 << Field1->getDeclName() << Field1->getType(); 990 if (Field1->isBitField() != Field2->isBitField()) { 996 if (Field1->isBitField()) { 997 Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field) 998 << Field1->getDeclName() << Field1->getType() 998 << Field1->getDeclName() << Field1->getType() 999 << Field1->getBitWidthValue(Context.FromCtx); 1006 Context.Diag1(Field1->getLocation(), diag::note_odr_not_bit_field) 1007 << Field1->getDeclName(); 1013 if (Field1->isBitField()) { 1015 unsigned Bits1 = Field1->getBitWidthValue(Context.FromCtx); 1026 Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field) 1027 << Field1->getDeclName() << Field1->getType() << Bits1; 1027 << Field1->getDeclName() << Field1->getType() << Bits1;