Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTContext.cpp7560 RecordDecl *RDecl = cast<RecordType>(CT)->getDecl(); in getObjCEncodingForTypeImpl() local
7561 S += RDecl->isUnion() ? '(' : '{'; in getObjCEncodingForTypeImpl()
7563 if (const IdentifierInfo *II = RDecl->getIdentifier()) { in getObjCEncodingForTypeImpl()
7565 if (const auto *Spec = dyn_cast<ClassTemplateSpecializationDecl>(RDecl)) { in getObjCEncodingForTypeImpl()
7576 if (!RDecl->isUnion()) { in getObjCEncodingForTypeImpl()
7577 getObjCEncodingForStructureImpl(RDecl, S, FD, true, NotEncodedT); in getObjCEncodingForTypeImpl()
7579 for (const auto *Field : RDecl->fields()) { in getObjCEncodingForTypeImpl()
7602 S += RDecl->isUnion() ? ')' : '}'; in getObjCEncodingForTypeImpl()
7760 void ASTContext::getObjCEncodingForStructureImpl(RecordDecl *RDecl, in getObjCEncodingForStructureImpl() argument
7765 assert(RDecl && "Expected non-null RecordDecl"); in getObjCEncodingForStructureImpl()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.cpp222 if (const auto *RDecl = dyn_cast<RecordDecl>(Context)) in getContextDescriptor() local
223 if (!RDecl->isDependentType()) in getContextDescriptor()
224 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), in getContextDescriptor()
3560 else if (const RecordDecl *RDecl = in collectFunctionDeclProps() local
3562 llvm::DIScope *Mod = getParentModuleOrNull(RDecl); in collectFunctionDeclProps()
3563 FDContext = getContextDescriptor(RDecl, Mod ? Mod : TheCU); in collectFunctionDeclProps()
4662 else if (auto *RDecl = dyn_cast<CXXRecordDecl>(blockDecl->getParent())) in EmitDeclareOfBlockLiteralArgVariable() local
4663 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaInit.cpp777 const RecordDecl *RDecl = RType->getDecl(); in FillInEmptyInitializations() local
778 if (RDecl->isUnion() && ILE->getInitializedFieldInUnion()) in FillInEmptyInitializations()
781 else if (RDecl->isUnion() && isa<CXXRecordDecl>(RDecl) && in FillInEmptyInitializations()
782 cast<CXXRecordDecl>(RDecl)->hasInClassInitializer()) { in FillInEmptyInitializations()
783 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()
795 if (RDecl->hasFlexibleArrayMember()) in FillInEmptyInitializations()
802 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RDecl)) { in FillInEmptyInitializations()
813 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()
828 if (RDecl->isUnion()) in FillInEmptyInitializations()
H A DSemaExprMember.cpp646 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord() local
662 DeclContext *DC = RDecl; in LookupMemberExprInRecord()
H A DSemaDecl.cpp16901 CXXRecordDecl* RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckFieldDecl() local
16902 if (RDecl->getDefinition()) { in CheckFieldDecl()
16963 CXXRecordDecl *RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckNontrivialField() local
16964 if (RDecl->getDefinition()) { in CheckNontrivialField()
16975 if (RDecl->hasNonTrivialCopyConstructor()) in CheckNontrivialField()
16977 else if (!RDecl->hasTrivialDefaultConstructor()) in CheckNontrivialField()
16979 else if (RDecl->hasNonTrivialCopyAssignment()) in CheckNontrivialField()
16981 else if (RDecl->hasNonTrivialDestructor()) in CheckNontrivialField()
16986 getLangOpts().ObjCAutoRefCount && RDecl->hasObjectMember()) { in CheckNontrivialField()
17005 DiagnoseNontrivial(RDecl, member); in CheckNontrivialField()