clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys > Class Template Reference

StmtVisitorBase - This class implements a simple visitor for Stmt subclasses. More...

#include "clang/AST/StmtVisitor.h"

Inheritance diagram for clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >:
Inheritance graph
[legend]

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()
 

Detailed Description

template<template< typename > class Ptr, typename ImplClass, typename RetTy = void, class... ParamTys>
class clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >

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 37 of file StmtVisitor.h.

Member Function Documentation

◆ BINOP_FALLBACK()

template<template< typename > class Ptr, typename ImplClass , typename RetTy = void, class... ParamTys>
clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::BINOP_FALLBACK ( PtrMemD  )

◆ Visit()

template<template< typename > class Ptr, typename ImplClass , typename RetTy = void, class... ParamTys>
RetTy clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::Visit ( PTR(Stmt S,
ParamTys...  P 
)
inline

Member Data Documentation

◆ P

template<template< typename > class Ptr, typename ImplClass , typename RetTy = void, class... ParamTys>
ParamTys clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::P { return RetTy()

The documentation for this class was generated from the following file: