Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp6790 S += RDecl->isUnion() ? '(' : '{'; in getObjCEncodingForTypeImpl()
6805 if (!RDecl->isUnion()) { in getObjCEncodingForTypeImpl()
6808 for (const auto *Field : RDecl->fields()) { in getObjCEncodingForTypeImpl()
6831 S += RDecl->isUnion() ? ')' : '}'; in getObjCEncodingForTypeImpl()
7020 assert(RDecl && "Expected non-null RecordDecl"); in getObjCEncodingForStructureImpl()
7022 if (!RDecl->getDefinition() || RDecl->getDefinition()->isInvalidDecl()) in getObjCEncodingForStructureImpl()
7025 const auto *CXXRec = dyn_cast<CXXRecordDecl>(RDecl); in getObjCEncodingForStructureImpl()
7043 for (auto *Field : RDecl->fields()) { in getObjCEncodingForStructureImpl()
7091 if (!RDecl->hasFlexibleArrayMember()) { in getObjCEncodingForStructureImpl()
8239 const ObjCInterfaceDecl* RDecl = RHS->getInterface(); in areCommonBaseCompatible() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp666 const RecordDecl *RDecl = RType->getDecl(); in FillInEmptyInitializations() local
667 if (RDecl->isUnion() && ILE->getInitializedFieldInUnion()) in FillInEmptyInitializations()
670 else if (RDecl->isUnion() && isa<CXXRecordDecl>(RDecl) && in FillInEmptyInitializations()
672 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()
684 if (RDecl->hasFlexibleArrayMember()) in FillInEmptyInitializations()
691 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RDecl)) { in FillInEmptyInitializations()
702 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()
717 if (RDecl->isUnion()) in FillInEmptyInitializations()
2869 RecordDecl *RDecl = RType->getDecl(); in getStructuredSubobjectInit() local
2870 if (RDecl->isUnion()) in getStructuredSubobjectInit()
[all …]
H A DSemaExprMember.cpp646 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord() local
662 DeclContext *DC = RDecl; in LookupMemberExprInRecord()
H A DSemaDecl.cpp15450 CXXRecordDecl* RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckFieldDecl() local
15451 if (RDecl->getDefinition()) { in CheckFieldDecl()
15507 CXXRecordDecl *RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckNontrivialField() local
15508 if (RDecl->getDefinition()) { in CheckNontrivialField()
15519 if (RDecl->hasNonTrivialCopyConstructor()) in CheckNontrivialField()
15521 else if (!RDecl->hasTrivialDefaultConstructor()) in CheckNontrivialField()
15523 else if (RDecl->hasNonTrivialCopyAssignment()) in CheckNontrivialField()
15525 else if (RDecl->hasNonTrivialDestructor()) in CheckNontrivialField()
15530 getLangOpts().ObjCAutoRefCount && RDecl->hasObjectMember()) { in CheckNontrivialField()
15549 DiagnoseNontrivial(RDecl, member); in CheckNontrivialField()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.cpp220 if (const auto *RDecl = dyn_cast<RecordDecl>(Context)) in getContextDescriptor() local
221 if (!RDecl->isDependentType()) in getContextDescriptor()
222 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), in getContextDescriptor()
3121 else if (const RecordDecl *RDecl = in collectFunctionDeclProps() local
3123 llvm::DIScope *Mod = getParentModuleOrNull(RDecl); in collectFunctionDeclProps()
3124 FDContext = getContextDescriptor(RDecl, Mod ? Mod : TheCU); in collectFunctionDeclProps()
4059 else if (auto *RDecl = dyn_cast<CXXRecordDecl>(blockDecl->getParent())) in EmitDeclareOfBlockLiteralArgVariable() local
4060 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()