#include "clang/AST/TypeLoc.h"
#include "clang/AST/TypeVisitor.h"
#include "llvm/Support/ErrorHandling.h"
#include "clang/AST/TypeLocNodes.def"
Go to the source code of this file.
|
| | clang |
| | /file This file defines classes for searching and anlyzing source code clones.
|
| |
| #define ABSTRACT_TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
| #define ABSTRACT_TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
| #define DISPATCH |
( |
|
CLASSNAME | ) |
|
Value:return static_cast<ImplClass*>(this)-> \
Visit##CLASSNAME(TyLoc.castAs<CLASSNAME>())
Definition at line 22 of file TypeLocVisitor.h.
| #define TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); |
| #define TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); |
| #define TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
Value:RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) {
\
}
#define DISPATCH(CLASSNAME)
Definition at line 49 of file TypeLocVisitor.h.