Lines Matching defs:RDecl
9102 RecordDecl *RDecl = cast<RecordType>(CT)->getDecl();
9103 S += RDecl->isUnion() ? '(' : '{';
9105 if (const IdentifierInfo *II = RDecl->getIdentifier()) {
9107 if (const auto *Spec = dyn_cast<ClassTemplateSpecializationDecl>(RDecl)) {
9118 if (!RDecl->isUnion()) {
9119 getObjCEncodingForStructureImpl(RDecl, S, FD, true, NotEncodedT);
9121 for (const auto *Field : RDecl->fields()) {
9144 S += RDecl->isUnion() ? ')' : '}';
9310 void ASTContext::getObjCEncodingForStructureImpl(RecordDecl *RDecl,
9315 assert(RDecl && "Expected non-null RecordDecl");
9316 assert(!RDecl->isUnion() && "Should not be called for unions");
9317 if (!RDecl->getDefinition() || RDecl->getDefinition()->isInvalidDecl())
9320 const auto *CXXRec = dyn_cast<CXXRecordDecl>(RDecl);
9322 const ASTRecordLayout &layout = getASTRecordLayout(RDecl);
9337 for (FieldDecl *Field : RDecl->fields()) {
9386 if (!RDecl->hasFlexibleArrayMember()) {
10899 const ObjCInterfaceDecl* RDecl = RHS->getInterface();
10901 if (!LDecl || !RDecl)
10918 if (declaresSameEntity(LHS->getInterface(), RDecl)) {