clang 22.0.0git
TemplateArgumentVisitor.h File Reference

Go to the source code of this file.

Classes

class  clang::templateargumentvisitor::Base< Ref, ImplClass, RetTy, ParamTys >
 A simple visitor class that helps create template argument visitors. More...
class  clang::TemplateArgumentVisitor< ImplClass, RetTy, ParamTys >
 A simple visitor class that helps create template argument visitors. More...
class  clang::ConstTemplateArgumentVisitor< ImplClass, RetTy, ParamTys >
 A simple visitor class that helps create template argument visitors. More...

Namespaces

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

Macros

#define REF(CLASS)
#define DISPATCH(NAME)
#define VISIT_METHOD(CATEGORY)

Macro Definition Documentation

◆ DISPATCH

#define DISPATCH ( NAME)
Value:
case TemplateArgument::NAME: \
return static_cast<ImplClass *>(this)->Visit##NAME##TemplateArgument( \
TA, std::forward<ParamTys>(P)...)

Definition at line 28 of file TemplateArgumentVisitor.h.

◆ REF

#define REF ( CLASS)
Value:
typename Ref<CLASS>::type

Definition at line 27 of file TemplateArgumentVisitor.h.

◆ VISIT_METHOD

#define VISIT_METHOD ( CATEGORY)
Value:
RetTy Visit##CATEGORY##TemplateArgument(REF(TemplateArgument) TA, \
ParamTys... P) { \
return static_cast<ImplClass *>(this)->VisitTemplateArgument( \
TA, std::forward<ParamTys>(P)...); \
}
#define CATEGORY(X, ENUM)
#define REF(CLASS)

Definition at line 52 of file TemplateArgumentVisitor.h.