clang 20.0.0git
Classes | Namespaces | Macros
TemplateArgumentVisitor.h File Reference
#include "clang/AST/TemplateBase.h"

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)   typename Ref<CLASS>::type
 
#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)...)
StringRef P

Definition at line 28 of file TemplateArgumentVisitor.h.

◆ REF

#define REF (   CLASS)    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 VisitTemplateArgument(TA, std::forward<ParamTys>(P)...); \
}
#define CATEGORY(X, ENUM)
#define REF(CLASS)

Definition at line 52 of file TemplateArgumentVisitor.h.