clang API Documentation
Go to the source code of this file.
Classes | |
class | clang::TypeVisitor< ImplClass, RetTy > |
An operation on a type. More... | |
Namespaces | |
namespace | clang |
Defines | |
#define | DISPATCH(CLASS) |
#define | ABSTRACT_TYPE(CLASS, PARENT) |
#define | TYPE(CLASS, PARENT) case Type::CLASS: DISPATCH(CLASS##Type); |
#define | TYPE(CLASS, PARENT) |
#define ABSTRACT_TYPE | ( | CLASS, | |
PARENT | |||
) |
#define DISPATCH | ( | CLASS | ) |
return static_cast<ImplClass*>(this)-> \ Visit##CLASS(static_cast<const CLASS*>(T))
Definition at line 21 of file TypeVisitor.h.
Definition at line 81 of file TypeVisitor.h.
#define TYPE | ( | CLASS, | |
PARENT | |||
) |
RetTy Visit##CLASS##Type(const CLASS##Type *T) { \
DISPATCH(PARENT); \
}
Definition at line 81 of file TypeVisitor.h.