Displaying 1 result from an estimated 1 matches for "cast_expr".
Did you mean:
ast_expr
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...+public:
+ enclosing_expr(string_ref prefix, node* infix, string_ref 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...