Lines Matching defs:PTR
35 #define PTR(CLASS) typename Ptr<CLASS>::type
37 return static_cast<ImplClass*>(this)->Visit ## NAME(static_cast<PTR(CLASS)>(S))
39 RetTy Visit(PTR(Stmt) S) {
44 if (PTR(BinaryOperator) BinOp = dyn_cast<BinaryOperator>(S)) {
81 } else if (PTR(UnaryOperator) UnOp = dyn_cast<UnaryOperator>(S)) {
112 RetTy Visit ## CLASS(PTR(CLASS) S) { DISPATCH(PARENT, PARENT); }
118 RetTy VisitBin ## NAME(PTR(BinaryOperator) S) { \
138 RetTy VisitBin ## NAME(PTR(CompoundAssignOperator) S) { \
150 RetTy VisitUnary ## NAME(PTR(UnaryOperator) S) { \
164 RetTy VisitStmt(PTR(Stmt) Node) { return RetTy(); }
166 #undef PTR
193 #define PTR(CLASS) typename Ptr<CLASS>::type
195 return static_cast<ImplClass*>(this)->Visit##CLASS(static_cast<PTR(CLASS)>(S))
198 RetTy Visit ## Class (PTR(Class) S) { DISPATCH(Class); }
201 RetTy Visit(PTR(OMPClause) S) {
206 case OMPC_ ## Name : return Visit ## Class(static_cast<PTR(Class)>(S));
211 RetTy VisitOMPClause(PTR(OMPClause) Node) { return RetTy(); }
212 #undef PTR