clang: include/clang/AST/TypeLocVisitor.h File Reference (original) (raw)

#include "[clang/AST/TypeLoc.h](TypeLoc%5F8h%5Fsource.html)"
#include "llvm/Support/ErrorHandling.h"
#include "clang/AST/TypeLocNodes.def"

Go to the source code of this file.

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

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

Definition at line 20 of file TypeLocVisitor.h.

TYPELOC [1/3]

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

TYPELOC [2/3]

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

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.