Home
last modified time | relevance | path

Searched defs:DumpVisitor (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/libcxxabi/src/
H A Dcxa_demangle.cpp62 struct DumpVisitor { struct
63 unsigned Depth = 0;
64 bool PendingNewline = false;
66 template<typename NodeT> static constexpr bool wantsNewline(const NodeT *) { in wantsNewline()
69 static bool wantsNewline(NodeArray A) { return !A.empty(); } in wantsNewline()
70 static constexpr bool wantsNewline(...) { return false; } in wantsNewline()
72 template<typename ...Ts> static bool anyWantNewline(Ts ...Vs) { in anyWantNewline()
79 void printStr(const char *S) { fprintf(stderr, "%s", S); } in printStr()
80 void print(StringView SV) { in print()
83 void print(const Node *N) { in print()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Demangle/
H A DItaniumDemangle.cpp63 struct DumpVisitor { struct
64 unsigned Depth = 0;
65 bool PendingNewline = false;
67 template<typename NodeT> static constexpr bool wantsNewline(const NodeT *) { in wantsNewline()
70 static bool wantsNewline(NodeArray A) { return !A.empty(); } in wantsNewline()
71 static constexpr bool wantsNewline(...) { return false; } in wantsNewline()
73 template<typename ...Ts> static bool anyWantNewline(Ts ...Vs) { in anyWantNewline()
80 void printStr(const char *S) { fprintf(stderr, "%s", S); } in printStr()
81 void print(StringView SV) { in print()
84 void print(const Node *N) { in print()
[all …]