clang API Documentation
Given a potentially-evaluated expression, this visitor visits all of its potentially-evaluated subexpressions, recursively. More...
#include <EvaluatedExprVisitor.h>
Public Member Functions | |
EvaluatedExprVisitor (ASTContext &Context) | |
void | VisitDeclRefExpr (DeclRefExpr *E) |
void | VisitOffsetOfExpr (OffsetOfExpr *E) |
void | VisitUnaryExprOrTypeTraitExpr (UnaryExprOrTypeTraitExpr *E) |
void | VisitExpressionTraitExpr (ExpressionTraitExpr *E) |
void | VisitBlockExpr (BlockExpr *E) |
void | VisitCXXUuidofExpr (CXXUuidofExpr *E) |
void | VisitCXXNoexceptExpr (CXXNoexceptExpr *E) |
void | VisitMemberExpr (MemberExpr *E) |
void | VisitChooseExpr (ChooseExpr *E) |
void | VisitDesignatedInitExpr (DesignatedInitExpr *E) |
void | VisitCXXTypeidExpr (CXXTypeidExpr *E) |
void | VisitCallExpr (CallExpr *CE) |
void | VisitLambdaExpr (LambdaExpr *LE) |
void | VisitStmt (Stmt *S) |
The basis case walks all of the children of the statement or expression, assuming they are all potentially evaluated. |
Given a potentially-evaluated expression, this visitor visits all of its potentially-evaluated subexpressions, recursively.
Definition at line 30 of file EvaluatedExprVisitor.h.
clang::EvaluatedExprVisitor< ImplClass >::EvaluatedExprVisitor | ( | ASTContext & | Context | ) | [inline, explicit] |
Definition at line 34 of file EvaluatedExprVisitor.h.
void clang::EvaluatedExprVisitor< ImplClass >::VisitBlockExpr | ( | BlockExpr * | E | ) | [inline] |
Definition at line 42 of file EvaluatedExprVisitor.h.
void clang::EvaluatedExprVisitor< ImplClass >::VisitCallExpr | ( | CallExpr * | CE | ) | [inline] |
Definition at line 70 of file EvaluatedExprVisitor.h.
References clang::CallExpr::isUnevaluatedBuiltinCall().
void clang::EvaluatedExprVisitor< ImplClass >::VisitChooseExpr | ( | ChooseExpr * | E | ) | [inline] |
Definition at line 51 of file EvaluatedExprVisitor.h.
References clang::ChooseExpr::getChosenSubExpr(), clang::ChooseExpr::getCond(), clang::Expr::isValueDependent(), and clang::StmtVisitorBase< make_ptr, ImplClass, void >::Visit().
void clang::EvaluatedExprVisitor< ImplClass >::VisitCXXNoexceptExpr | ( | CXXNoexceptExpr * | E | ) | [inline] |
Definition at line 44 of file EvaluatedExprVisitor.h.
void clang::EvaluatedExprVisitor< ImplClass >::VisitCXXTypeidExpr | ( | CXXTypeidExpr * | E | ) | [inline] |
Definition at line 65 of file EvaluatedExprVisitor.h.
References clang::CXXTypeidExpr::getExprOperand(), clang::CXXTypeidExpr::isPotentiallyEvaluated(), and clang::StmtVisitorBase< make_ptr, ImplClass, void >::Visit().
void clang::EvaluatedExprVisitor< ImplClass >::VisitCXXUuidofExpr | ( | CXXUuidofExpr * | E | ) | [inline] |
Definition at line 43 of file EvaluatedExprVisitor.h.
void clang::EvaluatedExprVisitor< ImplClass >::VisitDeclRefExpr | ( | DeclRefExpr * | E | ) | [inline] |
Definition at line 38 of file EvaluatedExprVisitor.h.
void clang::EvaluatedExprVisitor< ImplClass >::VisitDesignatedInitExpr | ( | DesignatedInitExpr * | E | ) | [inline] |
Definition at line 59 of file EvaluatedExprVisitor.h.
References clang::DesignatedInitExpr::getInit(), and clang::StmtVisitorBase< make_ptr, ImplClass, void >::Visit().
void clang::EvaluatedExprVisitor< ImplClass >::VisitExpressionTraitExpr | ( | ExpressionTraitExpr * | E | ) | [inline] |
Definition at line 41 of file EvaluatedExprVisitor.h.
void clang::EvaluatedExprVisitor< ImplClass >::VisitLambdaExpr | ( | LambdaExpr * | LE | ) | [inline] |
Definition at line 75 of file EvaluatedExprVisitor.h.
References clang::LambdaExpr::capture_init_begin(), clang::LambdaExpr::capture_init_end(), and clang::StmtVisitorBase< make_ptr, ImplClass, void >::Visit().
void clang::EvaluatedExprVisitor< ImplClass >::VisitMemberExpr | ( | MemberExpr * | E | ) | [inline] |
Definition at line 46 of file EvaluatedExprVisitor.h.
References clang::MemberExpr::getBase(), and clang::StmtVisitorBase< make_ptr, ImplClass, void >::Visit().
void clang::EvaluatedExprVisitor< ImplClass >::VisitOffsetOfExpr | ( | OffsetOfExpr * | E | ) | [inline] |
Definition at line 39 of file EvaluatedExprVisitor.h.
void clang::EvaluatedExprVisitor< ImplClass >::VisitStmt | ( | Stmt * | S | ) | [inline] |
The basis case walks all of the children of the statement or expression, assuming they are all potentially evaluated.
Definition at line 86 of file EvaluatedExprVisitor.h.
References AttributeLangSupport::C, clang::Stmt::children(), and clang::StmtVisitorBase< make_ptr, ImplClass, void >::Visit().
void clang::EvaluatedExprVisitor< ImplClass >::VisitUnaryExprOrTypeTraitExpr | ( | UnaryExprOrTypeTraitExpr * | E | ) | [inline] |
Definition at line 40 of file EvaluatedExprVisitor.h.