Searched refs:RDecl (Results 1 – 5 of 5) sorted by relevance
8314 S += RDecl->isUnion() ? '(' : '{'; in getObjCEncodingForTypeImpl()8329 if (!RDecl->isUnion()) { in getObjCEncodingForTypeImpl()8332 for (const auto *Field : RDecl->fields()) { in getObjCEncodingForTypeImpl()8355 S += RDecl->isUnion() ? ')' : '}'; in getObjCEncodingForTypeImpl()8522 assert(RDecl && "Expected non-null RecordDecl"); in getObjCEncodingForStructureImpl()8524 if (!RDecl->getDefinition() || RDecl->getDefinition()->isInvalidDecl()) in getObjCEncodingForStructureImpl()8527 const auto *CXXRec = dyn_cast<CXXRecordDecl>(RDecl); in getObjCEncodingForStructureImpl()8545 for (FieldDecl *Field : RDecl->fields()) { in getObjCEncodingForStructureImpl()8595 if (!RDecl->hasFlexibleArrayMember()) { in getObjCEncodingForStructureImpl()9931 const ObjCInterfaceDecl* RDecl = RHS->getInterface(); in areCommonBaseCompatible() local[all …]
227 if (const auto *RDecl = dyn_cast<RecordDecl>(Context)) in getContextDescriptor() local228 if (!RDecl->isDependentType()) in getContextDescriptor()229 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), in getContextDescriptor()3720 else if (const RecordDecl *RDecl = in collectFunctionDeclProps() local3722 llvm::DIScope *Mod = getParentModuleOrNull(RDecl); in collectFunctionDeclProps()3723 FDContext = getContextDescriptor(RDecl, Mod ? Mod : TheCU); in collectFunctionDeclProps()4957 else if (auto *RDecl = dyn_cast<CXXRecordDecl>(blockDecl->getParent())) in EmitDeclareOfBlockLiteralArgVariable() local4958 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
790 const RecordDecl *RDecl = RType->getDecl(); in FillInEmptyInitializations() local791 if (RDecl->isUnion() && ILE->getInitializedFieldInUnion()) in FillInEmptyInitializations()794 else if (RDecl->isUnion() && isa<CXXRecordDecl>(RDecl) && in FillInEmptyInitializations()795 cast<CXXRecordDecl>(RDecl)->hasInClassInitializer()) { in FillInEmptyInitializations()796 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()808 if (RDecl->hasFlexibleArrayMember()) in FillInEmptyInitializations()815 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RDecl)) { in FillInEmptyInitializations()826 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()841 if (RDecl->isUnion()) in FillInEmptyInitializations()
648 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord() local664 DeclContext *DC = RDecl; in LookupMemberExprInRecord()
18068 CXXRecordDecl* RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckFieldDecl() local18069 if (RDecl->getDefinition()) { in CheckFieldDecl()18130 CXXRecordDecl *RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckNontrivialField() local18131 if (RDecl->getDefinition()) { in CheckNontrivialField()18142 if (RDecl->hasNonTrivialCopyConstructor()) in CheckNontrivialField()18144 else if (!RDecl->hasTrivialDefaultConstructor()) in CheckNontrivialField()18146 else if (RDecl->hasNonTrivialCopyAssignment()) in CheckNontrivialField()18148 else if (RDecl->hasNonTrivialDestructor()) in CheckNontrivialField()18153 getLangOpts().ObjCAutoRefCount && RDecl->hasObjectMember()) { in CheckNontrivialField()18172 DiagnoseNontrivial(RDecl, member); in CheckNontrivialField()