#include "clang/AST/ExprCXX.h"
#include "clang/AST/ExprObjC.h"
#include "clang/AST/ExprOpenMP.h"
#include "clang/AST/StmtCXX.h"
#include "clang/AST/StmtObjC.h"
#include "clang/AST/StmtOpenMP.h"
#include "clang/AST/StmtNodes.inc"
#include "clang/Basic/OpenMPKinds.def"
Go to the source code of this file.
|
| | clang |
| | /file This file defines classes for searching and anlyzing source code clones.
|
| |
| #define ABSTRACT_STMT |
( |
|
STMT | ) |
|
| #define BINOP_FALLBACK |
( |
|
NAME | ) |
|
Value:RetTy VisitBin ## NAME(
PTR(BinaryOperator)
S) {
\
DISPATCH(BinaryOperator, BinaryOperator); \
}
#define DISPATCH(NAME, CLASS)
Definition at line 119 of file StmtVisitor.h.
| #define CAO_FALLBACK |
( |
|
NAME | ) |
|
Value:RetTy VisitBin ## NAME(
PTR(CompoundAssignOperator)
S) {
\
DISPATCH(CompoundAssignOperator, CompoundAssignOperator); \
}
#define DISPATCH(NAME, CLASS)
| #define DISPATCH |
( |
|
NAME, |
|
|
|
CLASS |
|
) |
| return static_cast<ImplClass*>(this)->Visit ## NAME(static_cast<PTR(CLASS)>(S)) |
| #define DISPATCH |
( |
|
CLASS | ) |
return static_cast<ImplClass*>(this)->Visit##CLASS(static_cast<PTR(CLASS)>(S)) |
| #define OPENMP_CLAUSE |
( |
|
Name, |
|
|
|
Class |
|
) |
| RetTy Visit ## Class (PTR(Class) S) { DISPATCH(Class); } |
| #define OPENMP_CLAUSE |
( |
|
Name, |
|
|
|
Class |
|
) |
| case OMPC_ ## Name : return Visit ## Class(static_cast<PTR(Class)>(S)); |
| #define PTR |
( |
|
CLASS | ) |
typename Ptr<CLASS>::type |
| #define PTR |
( |
|
CLASS | ) |
typename Ptr<CLASS>::type |
| #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 UNARYOP_FALLBACK |
( |
|
NAME | ) |
|
Value:RetTy VisitUnary ## NAME(
PTR(UnaryOperator)
S) {
\
DISPATCH(UnaryOperator, UnaryOperator); \
}
#define DISPATCH(NAME, CLASS)