clang 19.0.0git
Classes | Namespaces | Macros
TypeVisitor.h File Reference
#include "clang/AST/Type.h"
#include "clang/AST/TypeNodes.inc"

Go to the source code of this file.

Classes

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

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

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

Definition at line 20 of file TypeVisitor.h.

◆ TYPE [1/2]

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

Definition at line 80 of file TypeVisitor.h.

◆ TYPE [2/2]

#define TYPE (   CLASS,
  PARENT 
)
Value:
RetTy Visit##CLASS##Type(const CLASS##Type *T) { \
DISPATCH(PARENT); \
}
MatchType Type

Definition at line 80 of file TypeVisitor.h.