search for: then_expr

Displaying 1 result from an estimated 1 matches for "then_expr".

2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...ft(stream& s) const override + { + callee->print(s); + s += "("; + for (size_t i = 0; i < nargs; ++i) + { + if (i) s += ", "; + args[i]->print(s); + } + s += ")"; + } +}; + +class string_then_expr : public expr +{ + string_ref prefix; + node* child; +public: + string_then_expr(string_ref prefix, node* child) + : prefix(prefix), child(child) {} + + void print_left(stream& s) const override + { + s += prefix; + child->print(s); + } +}; + +class...