Lines Matching defs:RD
65 static bool IsClangType(const RecordDecl *RD) {
66 return RD->getName() == "Type" && InNamespace(RD, "clang");
69 static bool IsClangDecl(const RecordDecl *RD) {
70 return RD->getName() == "Decl" && InNamespace(RD, "clang");
73 static bool IsClangStmt(const RecordDecl *RD) {
74 return RD->getName() == "Stmt" && InNamespace(RD, "clang");
77 static bool IsClangAttr(const RecordDecl *RD) {
78 return RD->getName() == "Attr" && InNamespace(RD, "clang");
250 const RecordDecl *RD = RT->getDecl()->getDefinition();
251 for (auto *I : RD->fields())