#include "clang/AST/Decl.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclFriend.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclOpenMP.h"
#include "clang/AST/DeclTemplate.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/ErrorHandling.h"
#include "clang/AST/DeclNodes.inc"
Go to the source code of this file.
|
#define | PTR(CLASS) typename Ptr<CLASS>::type |
|
#define | DISPATCH(NAME, CLASS) return static_cast<ImplClass*>(this)->Visit##NAME(static_cast<PTR(CLASS)>(D)) |
|
#define | DECL(DERIVED, BASE) case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl); |
|
#define | ABSTRACT_DECL(DECL) |
|
#define | DECL(DERIVED, BASE) RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); } |
|
◆ ABSTRACT_DECL
#define ABSTRACT_DECL |
( |
|
DECL | ) |
|
◆ DECL [1/2]
#define DECL |
( |
|
DERIVED, |
|
|
|
BASE |
|
) |
| case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl); |
◆ DECL [2/2]
#define DECL |
( |
|
DERIVED, |
|
|
|
BASE |
|
) |
| RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); } |
◆ DISPATCH
#define DISPATCH |
( |
|
NAME, |
|
|
|
CLASS |
|
) |
| return static_cast<ImplClass*>(this)->Visit##NAME(static_cast<PTR(CLASS)>(D)) |
◆ PTR
#define PTR |
( |
|
CLASS | ) |
typename Ptr<CLASS>::type |