Lines Matching defs:Type
1 //===--- TypeVisitor.h - Visitor for Type subclasses ------------*- C++ -*-===//
17 #include "clang/AST/Type.h"
29 /// \tparam RetTy %Type of result produced by the operation.
32 /// from Type. The operation is performed by calling method Visit. It then
43 /// Type *atype = ...
59 /// \li <tt>ImplClass::VisitType(const Type*)</tt>
60 /// \li <tt>TypeVisitor::VisitType(const Type*)</tt>
69 RetTy Visit(const Type *T) {
73 #define TYPE(CLASS, PARENT) case Type::CLASS: DISPATCH(CLASS##Type);
81 #define TYPE(CLASS, PARENT) RetTy Visit##CLASS##Type(const CLASS##Type *T) { \
88 RetTy VisitType(const Type*) { return RetTy(); }