Searched refs:RDecl (Results 1 – 5 of 5) sorted by relevance
5643 RecordDecl *RDecl = cast<RecordType>(CT)->getDecl(); in getObjCEncodingForTypeImpl() local5644 S += RDecl->isUnion() ? '(' : '{'; in getObjCEncodingForTypeImpl()5646 if (const IdentifierInfo *II = RDecl->getIdentifier()) { in getObjCEncodingForTypeImpl()5649 = dyn_cast<ClassTemplateSpecializationDecl>(RDecl)) { in getObjCEncodingForTypeImpl()5662 if (!RDecl->isUnion()) { in getObjCEncodingForTypeImpl()5663 getObjCEncodingForStructureImpl(RDecl, S, FD, true, NotEncodedT); in getObjCEncodingForTypeImpl()5665 for (const auto *Field : RDecl->fields()) { in getObjCEncodingForTypeImpl()5688 S += RDecl->isUnion() ? ')' : '}'; in getObjCEncodingForTypeImpl()5867 void ASTContext::getObjCEncodingForStructureImpl(RecordDecl *RDecl, in getObjCEncodingForStructureImpl() argument5872 assert(RDecl && "Expected non-null RecordDecl"); in getObjCEncodingForStructureImpl()[all …]
578 const RecordDecl *RDecl = RType->getDecl(); in FillInEmptyInitializations() local579 if (RDecl->isUnion() && ILE->getInitializedFieldInUnion()) in FillInEmptyInitializations()582 else if (RDecl->isUnion() && isa<CXXRecordDecl>(RDecl) && in FillInEmptyInitializations()583 cast<CXXRecordDecl>(RDecl)->hasInClassInitializer()) { in FillInEmptyInitializations()584 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()596 for (auto *Field : RDecl->fields()) in FillInEmptyInitializations()603 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()618 if (RDecl->isUnion()) in FillInEmptyInitializations()2588 RecordDecl *RDecl = RType->getDecl(); in getStructuredSubobjectInit() local2589 if (RDecl->isUnion()) in getStructuredSubobjectInit()[all …]
607 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord() local623 DeclContext *DC = RDecl; in LookupMemberExprInRecord()
13126 CXXRecordDecl* RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckFieldDecl() local13127 if (RDecl->getDefinition()) { in CheckFieldDecl()13183 CXXRecordDecl *RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckNontrivialField() local13184 if (RDecl->getDefinition()) { in CheckNontrivialField()13195 if (RDecl->hasNonTrivialCopyConstructor()) in CheckNontrivialField()13197 else if (!RDecl->hasTrivialDefaultConstructor()) in CheckNontrivialField()13199 else if (RDecl->hasNonTrivialCopyAssignment()) in CheckNontrivialField()13201 else if (RDecl->hasNonTrivialDestructor()) in CheckNontrivialField()13206 getLangOpts().ObjCAutoRefCount && RDecl->hasObjectMember()) { in CheckNontrivialField()13225 DiagnoseNontrivial(RDecl, member); in CheckNontrivialField()
174 if (const RecordDecl *RDecl = dyn_cast<RecordDecl>(Context)) in getContextDescriptor() local175 if (!RDecl->isDependentType()) in getContextDescriptor()176 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), in getContextDescriptor()2435 else if (const RecordDecl *RDecl = in collectFunctionDeclProps() local2437 llvm::DIScope *Mod = getParentModuleOrNull(RDecl); in collectFunctionDeclProps()2438 FDContext = getContextDescriptor(RDecl, Mod ? Mod : TheCU); in collectFunctionDeclProps()