clang 19.0.0git
Public Member Functions | List of all members
clang::ConstEvaluatedExprVisitor< ImplClass > Class Template Reference

ConstEvaluatedExprVisitor - This class visits 'const Expr *'s. More...

#include "clang/AST/EvaluatedExprVisitor.h"

Inheritance diagram for clang::ConstEvaluatedExprVisitor< ImplClass >:
Inheritance graph
[legend]

Public Member Functions

 ConstEvaluatedExprVisitor (const ASTContext &Context)
 
- Public Member Functions inherited from clang::EvaluatedExprVisitorBase< llvm::make_const_ptr, ImplClass >
bool shouldVisitDiscardedStmt () const
 
 EvaluatedExprVisitorBase (const ASTContext &Context)
 
void VisitDeclRefExpr (PTR(DeclRefExpr) E)
 
void VisitOffsetOfExpr (PTR(OffsetOfExpr) E)
 
void VisitUnaryExprOrTypeTraitExpr (PTR(UnaryExprOrTypeTraitExpr) E)
 
void VisitExpressionTraitExpr (PTR(ExpressionTraitExpr) E)
 
void VisitBlockExpr (PTR(BlockExpr) E)
 
void VisitCXXUuidofExpr (PTR(CXXUuidofExpr) E)
 
void VisitCXXNoexceptExpr (PTR(CXXNoexceptExpr) E)
 
void VisitMemberExpr (PTR(MemberExpr) E)
 
void VisitChooseExpr (PTR(ChooseExpr) E)
 
void VisitGenericSelectionExpr (PTR(GenericSelectionExpr) E)
 
void VisitDesignatedInitExpr (PTR(DesignatedInitExpr) E)
 
void VisitCXXTypeidExpr (PTR(CXXTypeidExpr) E)
 
void VisitCallExpr (PTR(CallExpr) CE)
 
void VisitLambdaExpr (PTR(LambdaExpr) LE)
 
void VisitStmt (PTR(Stmt) S)
 The basis case walks all of the children of the statement or expression, assuming they are all potentially evaluated.
 
void VisitIfStmt (PTR(IfStmt) If)
 
ImplClass & getDerived ()
 
- Public Member Functions inherited from clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >
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
 

Additional Inherited Members

- Public Attributes inherited from clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >
ParamTys P { return RetTy()
 
- Protected Attributes inherited from clang::EvaluatedExprVisitorBase< llvm::make_const_ptr, ImplClass >
const ASTContextContext
 

Detailed Description

template<typename ImplClass>
class clang::ConstEvaluatedExprVisitor< ImplClass >

ConstEvaluatedExprVisitor - This class visits 'const Expr *'s.

Definition at line 137 of file EvaluatedExprVisitor.h.

Constructor & Destructor Documentation

◆ ConstEvaluatedExprVisitor()

template<typename ImplClass >
clang::ConstEvaluatedExprVisitor< ImplClass >::ConstEvaluatedExprVisitor ( const ASTContext Context)
inlineexplicit

Definition at line 140 of file EvaluatedExprVisitor.h.


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