Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp8314 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 …]
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.cpp227 if (const auto *RDecl = dyn_cast<RecordDecl>(Context)) in getContextDescriptor() local
228 if (!RDecl->isDependentType()) in getContextDescriptor()
229 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), in getContextDescriptor()
3720 else if (const RecordDecl *RDecl = in collectFunctionDeclProps() local
3722 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() local
4958 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaInit.cpp790 const RecordDecl *RDecl = RType->getDecl(); in FillInEmptyInitializations() local
791 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()
H A DSemaExprMember.cpp648 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord() local
664 DeclContext *DC = RDecl; in LookupMemberExprInRecord()
H A DSemaDecl.cpp18068 CXXRecordDecl* RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckFieldDecl() local
18069 if (RDecl->getDefinition()) { in CheckFieldDecl()
18130 CXXRecordDecl *RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckNontrivialField() local
18131 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()