Lines Matching refs:STMT
34 { NKI_None, "Stmt" },
35 #define STMT(DERIVED, BASE) { NKI_##BASE, #DERIVED },
91 ASTNodeKind ASTNodeKind::getFromNode(const Stmt &S) {
93 case Stmt::NoStmtClass: return NKI_None;
94 #define STMT(CLASS, PARENT) \
95 case Stmt::CLASS##Class: return ASTNodeKind(NKI_##CLASS);
99 llvm_unreachable("invalid stmt kind");
126 else if (const Stmt *S = get<Stmt>())
137 else if (const Stmt *S = get<Stmt>())
152 if (const Stmt *S = get<Stmt>())