clang API Documentation
#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.
Classes | |
class | clang::TypeLocVisitor< ImplClass, RetTy > |
Namespaces | |
namespace | clang |
Defines | |
#define | DISPATCH(CLASSNAME) |
#define | ABSTRACT_TYPELOC(CLASS, PARENT) |
#define | TYPELOC(CLASS, PARENT) case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); |
#define | ABSTRACT_TYPELOC(CLASS, PARENT) |
#define | TYPELOC(CLASS, PARENT) case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); |
#define | TYPELOC(CLASS, PARENT) |
#define ABSTRACT_TYPELOC | ( | CLASS, | |
PARENT | |||
) |
#define ABSTRACT_TYPELOC | ( | CLASS, | |
PARENT | |||
) |
#define DISPATCH | ( | CLASSNAME | ) |
return static_cast<ImplClass*>(this)-> \ Visit##CLASSNAME(TyLoc.castAs<CLASSNAME>())
Definition at line 22 of file TypeLocVisitor.h.
Definition at line 49 of file TypeLocVisitor.h.
Definition at line 49 of file TypeLocVisitor.h.
#define TYPELOC | ( | CLASS, | |
PARENT | |||
) |
RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ DISPATCH(PARENT); \ }
Definition at line 49 of file TypeLocVisitor.h.