Displaying 1 result from an estimated 1 matches for "cast_kind".
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...f postfix)
+ : prefix(prefix), infix(infix), postfix(postfix) {}
+
+ void print_left(stream& s) const override
+ {
+ s += prefix;
+ infix->print(s);
+ s += postfix;
+ }
+};
+
+class cast_expr : public expr
+{
+ const node* to;
+ const string_ref cast_kind;
+ const node* from;
+public:
+ cast_expr(string_ref cast_kind, node* to, node* from)
+ : to(to), cast_kind(cast_kind), from(from) {}
+
+ void print_left(stream& s) const override
+ {
+ s += cast_kind;
+ s += "<";
+ to->print_left(s);...