clang 18.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 36 of file StmtVisitor.h.
clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::BINOP_FALLBACK | ( | PtrMemD | ) |
|
inline |
Definition at line 43 of file StmtVisitor.h.
Referenced by clang::consumed::ConsumedAnalyzer::run(), clang::JSONNodeDumper::Visit(), and clang::TextNodeDumper::Visit().
ParamTys clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::P { return RetTy() |
Definition at line 171 of file StmtVisitor.h.
Referenced by clang::ASTNodeImporter::ImportDeclParts(), clang::ASTNodeImporter::VisitClassTemplateSpecializationDecl(), clang::ASTNodeImporter::VisitFunctionDecl(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitLambdaExpr(), clang::JSONNodeDumper::VisitObjCCategoryDecl(), clang::TextNodeDumper::VisitObjCCategoryDecl(), clang::JSONNodeDumper::VisitObjCInterfaceDecl(), clang::ASTNodeImporter::VisitObjCMethodDecl(), and clang::JSONNodeDumper::VisitObjCProtocolDecl().