Lines Matching defs:RD
178 const RecordDecl *RD = TTy->getDecl()->getDefinition();
179 if (RD->hasFlexibleArrayMember())
183 if (const CXXRecordDecl *Decl = dyn_cast<CXXRecordDecl>(RD))
187 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD);
190 for (RecordDecl::field_iterator i = RD->field_begin(),
191 e = RD->field_end(); i != e; ++i, ++idx) {
229 const RecordDecl *RD = TTy->getDecl()->getDefinition();
230 if (RD->hasFlexibleArrayMember())
232 // RD can be struct, union, class, interface or enum.
234 if (RD->isStruct() || RD->isClass())
249 const RecordDecl *RD = TTy->getDecl()->getDefinition();
251 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD);
254 for (RecordDecl::field_iterator i = RD->field_begin(),
255 e = RD->field_end(); i != e; ++i, ++idx) {
274 OutName = RD->getName();