clang  6.0.0svn
Classes | Namespaces | Macros
TypeVisitor.h File Reference
#include "clang/AST/Type.h"
#include "clang/AST/TypeNodes.def"
Include dependency graph for TypeVisitor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::TypeVisitor< ImplClass, RetTy >
 An operation on a type. More...
 

Namespaces

 clang
 Dataflow Directional Tag Classes.
 

Macros

#define DISPATCH(CLASS)
 
#define ABSTRACT_TYPE(CLASS, PARENT)
 
#define TYPE(CLASS, PARENT)   case Type::CLASS: DISPATCH(CLASS##Type);
 
#define TYPE(CLASS, PARENT)
 

Macro Definition Documentation

◆ ABSTRACT_TYPE

#define ABSTRACT_TYPE (   CLASS,
  PARENT 
)

◆ DISPATCH

#define DISPATCH (   CLASS)
Value:
return static_cast<ImplClass*>(this)-> \
Visit##CLASS(static_cast<const CLASS*>(T))
const FunctionProtoType * T

Definition at line 21 of file TypeVisitor.h.

◆ TYPE [1/2]

#define TYPE (   CLASS,
  PARENT 
)    case Type::CLASS: DISPATCH(CLASS##Type);

Definition at line 81 of file TypeVisitor.h.

◆ TYPE [2/2]

#define TYPE (   CLASS,
  PARENT 
)
Value:
RetTy Visit##CLASS##Type(const CLASS##Type *T) { \
DISPATCH(PARENT); \
}
const FunctionProtoType * T
The l-value was considered opaque, so the alignment was determined from a type.

Definition at line 81 of file TypeVisitor.h.