Lines Matching refs:RDecl
5740 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()
5970 assert(!RDecl->isUnion() && "Should not be called for unions"); in getObjCEncodingForStructureImpl()
5971 if (!RDecl->getDefinition() || RDecl->getDefinition()->isInvalidDecl()) in getObjCEncodingForStructureImpl()
5974 CXXRecordDecl *CXXRec = dyn_cast<CXXRecordDecl>(RDecl); in getObjCEncodingForStructureImpl()
5976 const ASTRecordLayout &layout = getASTRecordLayout(RDecl); in getObjCEncodingForStructureImpl()
5992 for (auto *Field : RDecl->fields()) { in getObjCEncodingForStructureImpl()
6040 if (!RDecl->hasFlexibleArrayMember()) { in getObjCEncodingForStructureImpl()
7186 const ObjCInterfaceDecl* RDecl = RHS->getInterface(); in areCommonBaseCompatible() local
7188 if (!LDecl || !RDecl) in areCommonBaseCompatible()
7205 if (declaresSameEntity(LHS->getInterface(), RDecl)) { in areCommonBaseCompatible()