Searched refs:RDecl (Results 1 – 5 of 5) sorted by relevance
5740 RecordDecl *RDecl = cast<RecordType>(CT)->getDecl(); in getObjCEncodingForTypeImpl() local5741 S += RDecl->isUnion() ? '(' : '{'; in getObjCEncodingForTypeImpl()5743 if (const IdentifierInfo *II = RDecl->getIdentifier()) { in getObjCEncodingForTypeImpl()5746 = dyn_cast<ClassTemplateSpecializationDecl>(RDecl)) { in getObjCEncodingForTypeImpl()5758 if (!RDecl->isUnion()) { in getObjCEncodingForTypeImpl()5759 getObjCEncodingForStructureImpl(RDecl, S, FD, true, NotEncodedT); in getObjCEncodingForTypeImpl()5761 for (const auto *Field : RDecl->fields()) { in getObjCEncodingForTypeImpl()5784 S += RDecl->isUnion() ? ')' : '}'; in getObjCEncodingForTypeImpl()5964 void ASTContext::getObjCEncodingForStructureImpl(RecordDecl *RDecl, in getObjCEncodingForStructureImpl() argument5969 assert(RDecl && "Expected non-null RecordDecl"); in getObjCEncodingForStructureImpl()[all …]
623 const RecordDecl *RDecl = RType->getDecl(); in FillInEmptyInitializations() local624 if (RDecl->isUnion() && ILE->getInitializedFieldInUnion()) in FillInEmptyInitializations()627 else if (RDecl->isUnion() && isa<CXXRecordDecl>(RDecl) && in FillInEmptyInitializations()628 cast<CXXRecordDecl>(RDecl)->hasInClassInitializer()) { in FillInEmptyInitializations()629 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()641 if (RDecl->hasFlexibleArrayMember()) in FillInEmptyInitializations()648 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RDecl)) { in FillInEmptyInitializations()659 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()674 if (RDecl->isUnion()) in FillInEmptyInitializations()2674 RecordDecl *RDecl = RType->getDecl(); in getStructuredSubobjectInit() local[all …]
621 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord() local637 DeclContext *DC = RDecl; in LookupMemberExprInRecord()
13580 CXXRecordDecl* RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckFieldDecl() local13581 if (RDecl->getDefinition()) { in CheckFieldDecl()13637 CXXRecordDecl *RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckNontrivialField() local13638 if (RDecl->getDefinition()) { in CheckNontrivialField()13649 if (RDecl->hasNonTrivialCopyConstructor()) in CheckNontrivialField()13651 else if (!RDecl->hasTrivialDefaultConstructor()) in CheckNontrivialField()13653 else if (RDecl->hasNonTrivialCopyAssignment()) in CheckNontrivialField()13655 else if (RDecl->hasNonTrivialDestructor()) in CheckNontrivialField()13660 getLangOpts().ObjCAutoRefCount && RDecl->hasObjectMember()) { in CheckNontrivialField()13679 DiagnoseNontrivial(RDecl, member); in CheckNontrivialField()
175 if (const RecordDecl *RDecl = dyn_cast<RecordDecl>(Context)) in getContextDescriptor() local176 if (!RDecl->isDependentType()) in getContextDescriptor()177 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), in getContextDescriptor()2629 else if (const RecordDecl *RDecl = in collectFunctionDeclProps() local2631 llvm::DIScope *Mod = getParentModuleOrNull(RDecl); in collectFunctionDeclProps()2632 FDContext = getContextDescriptor(RDecl, Mod ? Mod : TheCU); in collectFunctionDeclProps()3435 else if (auto *RDecl = dyn_cast<CXXRecordDecl>(blockDecl->getParent())) in EmitDeclareOfBlockLiteralArgVariable() local3436 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()