Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DASTContext.cpp5740 RecordDecl *RDecl = cast<RecordType>(CT)->getDecl(); in getObjCEncodingForTypeImpl() local
5741 S += RDecl->isUnion() ? '(' : '{'; in getObjCEncodingForTypeImpl()
5743 if (const IdentifierInfo *II = RDecl->getIdentifier()) { in getObjCEncodingForTypeImpl()
5746 = dyn_cast<ClassTemplateSpecializationDecl>(RDecl)) { in getObjCEncodingForTypeImpl()
5758 if (!RDecl->isUnion()) { in getObjCEncodingForTypeImpl()
5759 getObjCEncodingForStructureImpl(RDecl, S, FD, true, NotEncodedT); in getObjCEncodingForTypeImpl()
5761 for (const auto *Field : RDecl->fields()) { in getObjCEncodingForTypeImpl()
5784 S += RDecl->isUnion() ? ')' : '}'; in getObjCEncodingForTypeImpl()
5964 void ASTContext::getObjCEncodingForStructureImpl(RecordDecl *RDecl, in getObjCEncodingForStructureImpl() argument
5969 assert(RDecl && "Expected non-null RecordDecl"); in getObjCEncodingForStructureImpl()
[all …]
/external/clang/lib/Sema/
DSemaInit.cpp623 const RecordDecl *RDecl = RType->getDecl(); in FillInEmptyInitializations() local
624 if (RDecl->isUnion() && ILE->getInitializedFieldInUnion()) in FillInEmptyInitializations()
627 else if (RDecl->isUnion() && isa<CXXRecordDecl>(RDecl) && in FillInEmptyInitializations()
628 cast<CXXRecordDecl>(RDecl)->hasInClassInitializer()) { in FillInEmptyInitializations()
629 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()
641 if (RDecl->hasFlexibleArrayMember()) in FillInEmptyInitializations()
648 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RDecl)) { in FillInEmptyInitializations()
659 for (auto *Field : RDecl->fields()) { in FillInEmptyInitializations()
674 if (RDecl->isUnion()) in FillInEmptyInitializations()
2674 RecordDecl *RDecl = RType->getDecl(); in getStructuredSubobjectInit() local
[all …]
DSemaExprMember.cpp621 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord() local
637 DeclContext *DC = RDecl; in LookupMemberExprInRecord()
DSemaDecl.cpp13580 CXXRecordDecl* RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckFieldDecl() local
13581 if (RDecl->getDefinition()) { in CheckFieldDecl()
13637 CXXRecordDecl *RDecl = cast<CXXRecordDecl>(RT->getDecl()); in CheckNontrivialField() local
13638 if (RDecl->getDefinition()) { in CheckNontrivialField()
13649 if (RDecl->hasNonTrivialCopyConstructor()) in CheckNontrivialField()
13651 else if (!RDecl->hasTrivialDefaultConstructor()) in CheckNontrivialField()
13653 else if (RDecl->hasNonTrivialCopyAssignment()) in CheckNontrivialField()
13655 else if (RDecl->hasNonTrivialDestructor()) in CheckNontrivialField()
13660 getLangOpts().ObjCAutoRefCount && RDecl->hasObjectMember()) { in CheckNontrivialField()
13679 DiagnoseNontrivial(RDecl, member); in CheckNontrivialField()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp175 if (const RecordDecl *RDecl = dyn_cast<RecordDecl>(Context)) in getContextDescriptor() local
176 if (!RDecl->isDependentType()) in getContextDescriptor()
177 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), in getContextDescriptor()
2629 else if (const RecordDecl *RDecl = in collectFunctionDeclProps() local
2631 llvm::DIScope *Mod = getParentModuleOrNull(RDecl); in collectFunctionDeclProps()
2632 FDContext = getContextDescriptor(RDecl, Mod ? Mod : TheCU); in collectFunctionDeclProps()
3435 else if (auto *RDecl = dyn_cast<CXXRecordDecl>(blockDecl->getParent())) in EmitDeclareOfBlockLiteralArgVariable() local
3436 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()