Lines Matching refs:RDecl
6789 RecordDecl *RDecl = cast<RecordType>(CT)->getDecl(); in getObjCEncodingForTypeImpl() local
6790 S += RDecl->isUnion() ? '(' : '{'; in getObjCEncodingForTypeImpl()
6792 if (const IdentifierInfo *II = RDecl->getIdentifier()) { in getObjCEncodingForTypeImpl()
6794 if (const auto *Spec = dyn_cast<ClassTemplateSpecializationDecl>(RDecl)) { in getObjCEncodingForTypeImpl()
6805 if (!RDecl->isUnion()) { in getObjCEncodingForTypeImpl()
6806 getObjCEncodingForStructureImpl(RDecl, S, FD, true, NotEncodedT); in getObjCEncodingForTypeImpl()
6808 for (const auto *Field : RDecl->fields()) { in getObjCEncodingForTypeImpl()
6831 S += RDecl->isUnion() ? ')' : '}'; in getObjCEncodingForTypeImpl()
7015 void ASTContext::getObjCEncodingForStructureImpl(RecordDecl *RDecl, in getObjCEncodingForStructureImpl() argument
7020 assert(RDecl && "Expected non-null RecordDecl"); in getObjCEncodingForStructureImpl()
7021 assert(!RDecl->isUnion() && "Should not be called for unions"); in getObjCEncodingForStructureImpl()
7022 if (!RDecl->getDefinition() || RDecl->getDefinition()->isInvalidDecl()) in getObjCEncodingForStructureImpl()
7025 const auto *CXXRec = dyn_cast<CXXRecordDecl>(RDecl); in getObjCEncodingForStructureImpl()
7027 const ASTRecordLayout &layout = getASTRecordLayout(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
8241 if (!LDecl || !RDecl) in areCommonBaseCompatible()
8258 if (declaresSameEntity(LHS->getInterface(), RDecl)) { in areCommonBaseCompatible()