Lines Matching defs:STMT
159 /// Encapsulates Stmt comparison logic.
275 bool IsStmtEquivalent(const Stmt *S1, const Stmt *S2) { return true; }
337 bool TraverseStmt(const Stmt *S1, const Stmt *S2) { return true; }
343 // overload of 'Expr' which then calls the overload for 'Stmt'.
344 #define STMT(CLASS, PARENT) \
359 bool IsEquivalent(const Stmt *S1, const Stmt *S2) {
364 // the root class 'Stmt' (e.g. 'BinaryOperator' -> 'Expr' -> 'Stmt'). Cast
365 // the Stmt we have here to its specific subclass so that we call the
367 // cast to 'BinaryOperator' so that 'Expr' and 'Stmt' is traversed).
369 case Stmt::NoStmtClass:
371 #define STMT(CLASS, PARENT) \
372 case Stmt::StmtClass::CLASS##Class: \
385 const Stmt *S1, const Stmt *S2) {
396 Optional<const Stmt *> Child1 = std::get<0>(Pair);
397 Optional<const Stmt *> Child2 = std::get<1>(Pair);
2021 bool StructuralEquivalenceContext::IsEquivalent(Stmt *S1, Stmt *S2) {