Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp8209 S += RDecl->isUnion() ? '(' : '{'; in getObjCEncodingForTypeImpl()
8224 if (!RDecl->isUnion()) { in getObjCEncodingForTypeImpl()
8227 for (const auto *Field : RDecl->fields()) { in getObjCEncodingForTypeImpl()
8250 S += RDecl->isUnion() ? ')' : '}'; in getObjCEncodingForTypeImpl()
8417 assert(RDecl && "Expected non-null RecordDecl"); in getObjCEncodingForStructureImpl()
8419 if (!RDecl->getDefinition() || RDecl->getDefinition()->isInvalidDecl()) in getObjCEncodingForStructureImpl()
8422 const auto *CXXRec = dyn_cast<CXXRecordDecl>(RDecl); in getObjCEncodingForStructureImpl()
8440 for (FieldDecl *Field : RDecl->fields()) { in getObjCEncodingForStructureImpl()
8490 if (!RDecl->hasFlexibleArrayMember()) { in getObjCEncodingForStructureImpl()
9819 const ObjCInterfaceDecl* RDecl = RHS->getInterface(); in areCommonBaseCompatible() local
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp223 if (const auto *RDecl = dyn_cast<RecordDecl>(Context)) in getContextDescriptor() local
224 if (!RDecl->isDependentType()) in getContextDescriptor()
225 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), in getContextDescriptor()
3703 else if (const RecordDecl *RDecl = in collectFunctionDeclProps() local
3705 llvm::DIScope *Mod = getParentModuleOrNull(RDecl); in collectFunctionDeclProps()
3706 FDContext = getContextDescriptor(RDecl, Mod ? Mod : TheCU); in collectFunctionDeclProps()
4923 else if (auto *RDecl = dyn_cast<CXXRecordDecl>(blockDecl->getParent())) in EmitDeclareOfBlockLiteralArgVariable() local
4924 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
/llvm-project-15.0.7/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.cpp648 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord() local
664 DeclContext *DC = RDecl; in LookupMemberExprInRecord()
H A DSemaDecl.cpp17605 CXXRecordDecl* RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckFieldDecl() local
17606 if (RDecl->getDefinition()) { in CheckFieldDecl()
17667 CXXRecordDecl *RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckNontrivialField() local
17668 if (RDecl->getDefinition()) { in CheckNontrivialField()
17679 if (RDecl->hasNonTrivialCopyConstructor()) in CheckNontrivialField()
17681 else if (!RDecl->hasTrivialDefaultConstructor()) in CheckNontrivialField()
17683 else if (RDecl->hasNonTrivialCopyAssignment()) in CheckNontrivialField()
17685 else if (RDecl->hasNonTrivialDestructor()) in CheckNontrivialField()
17690 getLangOpts().ObjCAutoRefCount && RDecl->hasObjectMember()) { in CheckNontrivialField()
17709 DiagnoseNontrivial(RDecl, member); in CheckNontrivialField()