clang API Documentation
#include "clang/AST/ExprCXX.h"#include "clang/AST/ExprObjC.h"#include "clang/AST/StmtCXX.h"#include "clang/AST/StmtObjC.h"#include "clang/AST/StmtNodes.inc"

Go to the source code of this file.
Classes | |
| struct | clang::make_ptr< T > |
| struct | clang::make_const_ptr< T > |
| class | clang::StmtVisitorBase< Ptr, ImplClass, RetTy > |
| class | clang::StmtVisitor< ImplClass, RetTy > |
| class | clang::ConstStmtVisitor< ImplClass, RetTy > |
Namespaces | |
| namespace | clang |
Defines | |
| #define | PTR(CLASS) typename Ptr<CLASS>::type |
| #define | DISPATCH(NAME, CLASS) return static_cast<ImplClass*>(this)->Visit ## NAME(static_cast<PTR(CLASS)>(S)) |
| #define | ABSTRACT_STMT(STMT) |
| #define | STMT(CLASS, PARENT) case Stmt::CLASS ## Class: DISPATCH(CLASS, CLASS); |
| #define | STMT(CLASS, PARENT) RetTy Visit ## CLASS(PTR(CLASS) S) { DISPATCH(PARENT, PARENT); } |
| #define | BINOP_FALLBACK(NAME) |
| #define | CAO_FALLBACK(NAME) |
| #define | UNARYOP_FALLBACK(NAME) |
| #define ABSTRACT_STMT | ( | STMT | ) |
| #define BINOP_FALLBACK | ( | NAME | ) |
Definition at line 116 of file StmtVisitor.h.
| #define CAO_FALLBACK | ( | NAME | ) |
RetTy VisitBin ## NAME(PTR(CompoundAssignOperator) S) { \ DISPATCH(CompoundAssignOperator, CompoundAssignOperator); \ }
Referenced by clang::StmtVisitorBase< make_ptr, ASTNodeImporter, Stmt * >::BINOP_FALLBACK().
| #define DISPATCH | ( | NAME, | |
| CLASS | |||
| ) | return static_cast<ImplClass*>(this)->Visit ## NAME(static_cast<PTR(CLASS)>(S)) |
Definition at line 35 of file StmtVisitor.h.
Referenced by clang::StmtVisitorBase< make_ptr, ASTNodeImporter, Stmt * >::Visit().
| #define PTR | ( | CLASS | ) | typename Ptr<CLASS>::type |
Definition at line 34 of file StmtVisitor.h.
Referenced by clang::StmtVisitorBase< make_ptr, ASTNodeImporter, Stmt * >::Visit().
| #define STMT | ( | CLASS, | |
| PARENT | |||
| ) | case Stmt::CLASS ## Class: DISPATCH(CLASS, CLASS); |
Definition at line 110 of file StmtVisitor.h.
| #define STMT | ( | CLASS, | |
| PARENT | |||
| ) | RetTy Visit ## CLASS(PTR(CLASS) S) { DISPATCH(PARENT, PARENT); } |
Definition at line 110 of file StmtVisitor.h.
| #define UNARYOP_FALLBACK | ( | NAME | ) |
Referenced by clang::StmtVisitorBase< make_ptr, ASTNodeImporter, Stmt * >::BINOP_FALLBACK().