reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
946 const auto *Owner2 = cast<RecordDecl>(Field2->getDeclContext()); 952 Field2->isAnonymousStructOrUnion()) { 954 RecordDecl *D2 = Field2->getType()->castAs<RecordType>()->getDecl(); 960 IdentifierInfo *Name2 = Field2->getIdentifier(); 967 Context.Diag2(Field2->getLocation(), diag::note_odr_field_name) 968 << Field2->getDeclName(); 976 Field2->getType())) { 982 Context.Diag2(Field2->getLocation(), diag::note_odr_field) 983 << Field2->getDeclName() << Field2->getType(); 983 << Field2->getDeclName() << Field2->getType(); 990 if (Field1->isBitField() != Field2->isBitField()) { 1000 Context.Diag2(Field2->getLocation(), diag::note_odr_not_bit_field) 1001 << Field2->getDeclName(); 1003 Context.Diag2(Field2->getLocation(), diag::note_odr_bit_field) 1004 << Field2->getDeclName() << Field2->getType() 1004 << Field2->getDeclName() << Field2->getType() 1005 << Field2->getBitWidthValue(Context.ToCtx); 1016 unsigned Bits2 = Field2->getBitWidthValue(Context.ToCtx); 1024 Context.Diag2(Field2->getLocation(), diag::note_odr_bit_field) 1025 << Field2->getDeclName() << Field2->getType() << Bits2; 1025 << Field2->getDeclName() << Field2->getType() << Bits2;