Lines Matching refs:CXXRecord
6666 CXXRecordDecl *CXXRecord = cast<CXXRecordDecl>(Record->getDecl());
6670 if (!CXXRecord->isPOD())
9688 if (CXXRecordDecl *CXXRecord = dyn_cast<CXXRecordDecl>(Record)) {
9689 if (!CXXRecord->isInvalidDecl()) {
9691 UnresolvedSetImpl *Convs = CXXRecord->getConversionFunctions();
9696 if (!CXXRecord->isDependentType()) {
9709 CXXRecord->hasObjectMember() &&
9710 CXXRecord->getLinkage() == ExternalLinkage) {
9711 if (CXXRecord->isPOD()) {
9712 Diag(CXXRecord->getLocation(),
9714 << CXXRecord;
9718 if (CXXRecord->hasTrivialCopyConstructor())
9719 Diag(CXXRecord->getLocation(),
9721 << CXXRecord << 0;
9722 if (CXXRecord->hasTrivialCopyAssignment())
9723 Diag(CXXRecord->getLocation(),
9725 << CXXRecord << 1;
9726 if (CXXRecord->hasTrivialDestructor())
9727 Diag(CXXRecord->getLocation(),
9729 << CXXRecord << 2;
9735 CXXRecord->hasUserDeclaredDestructor())
9736 AdjustDestructorExceptionSpec(CXXRecord,CXXRecord->getDestructor());
9739 AddImplicitlyDeclaredMembersToClass(CXXRecord);
9744 if (CXXRecord->getNumVBases()) {
9746 CXXRecord->getFinalOverriders(FinalOverriders);
9777 CXXRecord->completeDefinition(&FinalOverriders);