clang API Documentation

Classes | Namespaces | Defines
TypeLocVisitor.h File Reference
#include "clang/AST/TypeLoc.h"
#include "clang/AST/TypeVisitor.h"
#include "llvm/Support/ErrorHandling.h"
#include "clang/AST/TypeLocNodes.def"
Include dependency graph for TypeLocVisitor.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#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);

Definition at line 49 of file TypeLocVisitor.h.

#define TYPELOC (   CLASS,
  PARENT 
)    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);

Definition at line 49 of file TypeLocVisitor.h.

#define TYPELOC (   CLASS,
  PARENT 
)
Value:
RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
    DISPATCH(PARENT);               \
  }

Definition at line 49 of file TypeLocVisitor.h.