Home
last modified time | relevance | path

Searched refs:RDecl (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/AST/
DASTContext.cpp5643 RecordDecl *RDecl = cast<RecordType>(CT)->getDecl(); in getObjCEncodingForTypeImpl() local
5644 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() argument
5872 assert(RDecl && "Expected non-null RecordDecl"); in getObjCEncodingForStructureImpl()
[all …]
/external/clang/lib/Sema/
DSemaInit.cpp578 const RecordDecl *RDecl = RType->getDecl(); in FillInEmptyInitializations() local
579 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() local
2589 if (RDecl->isUnion()) in getStructuredSubobjectInit()
[all …]
DSemaExprMember.cpp607 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord() local
623 DeclContext *DC = RDecl; in LookupMemberExprInRecord()
DSemaDecl.cpp13126 CXXRecordDecl* RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckFieldDecl() local
13127 if (RDecl->getDefinition()) { in CheckFieldDecl()
13183 CXXRecordDecl *RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckNontrivialField() local
13184 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()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp174 if (const RecordDecl *RDecl = dyn_cast<RecordDecl>(Context)) in getContextDescriptor() local
175 if (!RDecl->isDependentType()) in getContextDescriptor()
176 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), in getContextDescriptor()
2435 else if (const RecordDecl *RDecl = in collectFunctionDeclProps() local
2437 llvm::DIScope *Mod = getParentModuleOrNull(RDecl); in collectFunctionDeclProps()
2438 FDContext = getContextDescriptor(RDecl, Mod ? Mod : TheCU); in collectFunctionDeclProps()