Lines Matching defs:DumpVisitor
65 struct DumpVisitor { struct
66 unsigned Depth = 0;
67 bool PendingNewline = false;
69 template<typename NodeT> static constexpr bool wantsNewline(const NodeT *) { in wantsNewline()
72 static bool wantsNewline(NodeArray A) { return !A.empty(); } in wantsNewline()
73 static constexpr bool wantsNewline(...) { return false; } in wantsNewline()
75 template<typename ...Ts> static bool anyWantNewline(Ts ...Vs) { in anyWantNewline()
82 void printStr(const char *S) { fprintf(stderr, "%s", S); } in printStr()
83 void print(StringView SV) { in print()
86 void print(const Node *N) { in print()
92 void print(NodeArray A) { in print()
108 void print(bool B) { printStr(B ? "true" : "false"); } in print()
110 template <class T> std::enable_if_t<std::is_unsigned<T>::value> print(T N) { in print()
114 template <class T> std::enable_if_t<std::is_signed<T>::value> print(T N) { in print()
118 void print(ReferenceKind RK) { in print()
126 void print(FunctionRefQual RQ) { in print()
136 void print(Qualifiers Qs) { in print()
151 void print(SpecialSubKind SSK) { in print()
167 void print(TemplateParamKind TPK) { in print()
178 void newLine() { in newLine()
185 template<typename T> void printWithPendingNewline(T V) { in printWithPendingNewline()
191 template<typename T> void printWithComma(T V) { in printWithComma()
202 struct CtorArgPrinter {
214 template<typename NodeT> void operator()(const NodeT *Node) { in operator ()()
222 void operator()(const ForwardTemplateReference *Node) { in operator ()()