search for: member_expr

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

2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...(_else) {} + + void print_left(stream& s) const override + { + s += "("; + cond->print(s); + s += ") ? ("; + then->print(s); + s += ") : ("; + _else->print(s); + s += ")"; + } +}; + +class member_expr : public expr +{ + node* lhs; + string_ref kind; + node* rhs; +public: + member_expr(node* lhs, string_ref kind, node* rhs) + : lhs(lhs), kind(kind), rhs(rhs) {} + + void print_left(stream& s) const override + { + lhs->print(s); + s += kind; +...