search for: dot_suffix

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

2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...ht(s); + } + virtual void print_left(stream& s) const = 0; + virtual void print_right(stream&) const {} + + virtual string_ref get_base_name() const { return string_ref(); } + + // Silence compiler warnings, this dtor will never be called. + virtual ~node() {} +}; + +class dot_suffix final : public node +{ + node* prefix; + string_ref suffix; +public: + dot_suffix(node* prefix, string_ref suffix) + : prefix(prefix), suffix(suffix) {} + + void print_left(stream& s) const override + { + prefix->print(s); + s += " ("; +...