clang 22.0.0git
|
StmtVisitorBase - This class implements a simple visitor for Stmt subclasses. More...
#include "clang/AST/StmtVisitor.h"
Public Member Functions | |
RetTy | Visit (PTR(Stmt) S, ParamTys... P) |
BINOP_FALLBACK (PtrMemD) BINOP_FALLBACK(PtrMemI) BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl) BINOP_FALLBACK(LT) BINOP_FALLBACK(GT) BINOP_FALLBACK(LE) BINOP_FALLBACK(GE) BINOP_FALLBACK(EQ) BINOP_FALLBACK(NE) BINOP_FALLBACK(And) BINOP_FALLBACK(Xor) BINOP_FALLBACK(Or) BINOP_FALLBACK(LAnd) BINOP_FALLBACK(LOr) CAO_FALLBACK(MulAssign) CAO_FALLBACK(DivAssign) CAO_FALLBACK(RemAssign) CAO_FALLBACK(AddAssign) CAO_FALLBACK(SubAssign) CAO_FALLBACK(ShlAssign) CAO_FALLBACK(ShrAssign) CAO_FALLBACK(AndAssign) CAO_FALLBACK(OrAssign) UNARYOP_FALLBACK(PostInc) UNARYOP_FALLBACK(PostDec) UNARYOP_FALLBACK(PreInc) UNARYOP_FALLBACK(PreDec) UNARYOP_FALLBACK(AddrOf) UNARYOP_FALLBACK(Deref) UNARYOP_FALLBACK(Plus) UNARYOP_FALLBACK(Minus) UNARYOP_FALLBACK(Not) UNARYOP_FALLBACK(LNot) UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag) UNARYOP_FALLBACK(Extension) UNARYOP_FALLBACK(Coawait) RetTy VisitStmt(PTR(Stmt) Node |
Public Attributes | |
ParamTys | P { return RetTy() |
StmtVisitorBase - This class implements a simple visitor for Stmt subclasses.
Since Expr derives from Stmt, this also includes support for visiting Exprs.
Definition at line 38 of file StmtVisitor.h.
clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::BINOP_FALLBACK | ( | PtrMemD | ) |
References clang::And, and clang::Or.
|
inline |
Definition at line 45 of file StmtVisitor.h.
References DISPATCH, clang::Stmt::getStmtClass(), P, and PTR.
Referenced by clang::EnsureFunctionAnalysis::isACallToEnsureFn(), clang::consumed::ConsumedAnalyzer::run(), clang::lifetimes::internal::FactGenerator::run(), and clang::JSONNodeDumper::Visit().
ParamTys clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::P { return RetTy() |
Definition at line 173 of file StmtVisitor.h.
Referenced by Visit(), clang::JSONNodeDumper::VisitObjCCategoryDecl(), clang::JSONNodeDumper::VisitObjCInterfaceDecl(), clang::JSONNodeDumper::VisitObjCProtocolDecl(), and clang::JSONNodeDumper::VisitVarDecl().