clang API Documentation

Public Member Functions
clang::EvaluatedExprVisitor< ImplClass > Class Template Reference

Given a potentially-evaluated expression, this visitor visits all of its potentially-evaluated subexpressions, recursively. More...

#include <EvaluatedExprVisitor.h>

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

List of all members.

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.

Detailed Description

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

Given a potentially-evaluated expression, this visitor visits all of its potentially-evaluated subexpressions, recursively.

Definition at line 30 of file EvaluatedExprVisitor.h.


Constructor & Destructor Documentation

template<typename ImplClass >
clang::EvaluatedExprVisitor< ImplClass >::EvaluatedExprVisitor ( ASTContext Context) [inline, explicit]

Definition at line 34 of file EvaluatedExprVisitor.h.


Member Function Documentation

template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitBlockExpr ( BlockExpr E) [inline]

Definition at line 42 of file EvaluatedExprVisitor.h.

template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitCallExpr ( CallExpr CE) [inline]
template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitChooseExpr ( ChooseExpr E) [inline]
template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitCXXNoexceptExpr ( CXXNoexceptExpr E) [inline]

Definition at line 44 of file EvaluatedExprVisitor.h.

template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitCXXTypeidExpr ( CXXTypeidExpr E) [inline]
template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitCXXUuidofExpr ( CXXUuidofExpr E) [inline]

Definition at line 43 of file EvaluatedExprVisitor.h.

template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitDeclRefExpr ( DeclRefExpr E) [inline]

Definition at line 38 of file EvaluatedExprVisitor.h.

template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitDesignatedInitExpr ( DesignatedInitExpr E) [inline]
template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitExpressionTraitExpr ( ExpressionTraitExpr E) [inline]

Definition at line 41 of file EvaluatedExprVisitor.h.

template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitLambdaExpr ( LambdaExpr LE) [inline]
template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitMemberExpr ( MemberExpr E) [inline]
template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitOffsetOfExpr ( OffsetOfExpr E) [inline]

Definition at line 39 of file EvaluatedExprVisitor.h.

template<typename ImplClass >
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().

template<typename ImplClass >
void clang::EvaluatedExprVisitor< ImplClass >::VisitUnaryExprOrTypeTraitExpr ( UnaryExprOrTypeTraitExpr E) [inline]

Definition at line 40 of file EvaluatedExprVisitor.h.


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