clang 22.0.0git
TypeLocVisitor.h File Reference
#include "clang/AST/TypeLoc.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
 The JSON file list parser is used to communicate input to InstallAPI.

Macros

#define DISPATCH(CLASSNAME)
#define ABSTRACT_TYPELOC(CLASS, PARENT)
#define TYPELOC(CLASS, PARENT)
#define ABSTRACT_TYPELOC(CLASS, PARENT)
#define TYPELOC(CLASS, PARENT)
#define TYPELOC(CLASS, PARENT)

Macro Definition Documentation

◆ ABSTRACT_TYPELOC [1/2]

#define ABSTRACT_TYPELOC ( CLASS,
PARENT )

◆ ABSTRACT_TYPELOC [2/2]

#define ABSTRACT_TYPELOC ( CLASS,
PARENT )

◆ DISPATCH

#define DISPATCH ( CLASSNAME)
Value:
return static_cast<ImplClass*>(this)-> \
Visit##CLASSNAME(TyLoc.castAs<CLASSNAME>())

Definition at line 20 of file TypeLocVisitor.h.

◆ TYPELOC [1/3]

#define TYPELOC ( CLASS,
PARENT )
Value:
case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
#define DISPATCH(NAME)
Definition AttrVisitor.h:28

Definition at line 47 of file TypeLocVisitor.h.

◆ TYPELOC [2/3]

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

Definition at line 47 of file TypeLocVisitor.h.

◆ TYPELOC [3/3]

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

Definition at line 47 of file TypeLocVisitor.h.