Lines Matching refs:RDecl
8208 RecordDecl *RDecl = cast<RecordType>(CT)->getDecl(); in getObjCEncodingForTypeImpl() local
8209 S += RDecl->isUnion() ? '(' : '{'; in getObjCEncodingForTypeImpl()
8211 if (const IdentifierInfo *II = RDecl->getIdentifier()) { in getObjCEncodingForTypeImpl()
8213 if (const auto *Spec = dyn_cast<ClassTemplateSpecializationDecl>(RDecl)) { in getObjCEncodingForTypeImpl()
8224 if (!RDecl->isUnion()) { in getObjCEncodingForTypeImpl()
8225 getObjCEncodingForStructureImpl(RDecl, S, FD, true, NotEncodedT); in getObjCEncodingForTypeImpl()
8227 for (const auto *Field : RDecl->fields()) { in getObjCEncodingForTypeImpl()
8250 S += RDecl->isUnion() ? ')' : '}'; in getObjCEncodingForTypeImpl()
8412 void ASTContext::getObjCEncodingForStructureImpl(RecordDecl *RDecl, in getObjCEncodingForStructureImpl() argument
8417 assert(RDecl && "Expected non-null RecordDecl"); in getObjCEncodingForStructureImpl()
8418 assert(!RDecl->isUnion() && "Should not be called for unions"); in getObjCEncodingForStructureImpl()
8419 if (!RDecl->getDefinition() || RDecl->getDefinition()->isInvalidDecl()) in getObjCEncodingForStructureImpl()
8422 const auto *CXXRec = dyn_cast<CXXRecordDecl>(RDecl); in getObjCEncodingForStructureImpl()
8424 const ASTRecordLayout &layout = getASTRecordLayout(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
9821 if (!LDecl || !RDecl) in areCommonBaseCompatible()
9838 if (declaresSameEntity(LHS->getInterface(), RDecl)) { in areCommonBaseCompatible()