diff options
author | Philip Herron <herron.philip@googlemail.com> | 2020-05-17 17:55:05 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2020-11-28 21:13:13 +0000 |
commit | e8cff6a9da47a189b1e40f4e728fd29bb3af1e7b (patch) | |
tree | d69d6015e0f0b22c3fb90b4e0551451e34924629 | |
parent | ae07b534e2e4da55734a4577b0176f623e5b1362 (diff) | |
download | gcc-e8cff6a9da47a189b1e40f4e728fd29bb3af1e7b.zip gcc-e8cff6a9da47a189b1e40f4e728fd29bb3af1e7b.tar.gz gcc-e8cff6a9da47a189b1e40f4e728fd29bb3af1e7b.tar.bz2 |
Need public access to Expr locus and rhs
-rw-r--r-- | gcc/rust/ast/rust-expr.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h index 9da2e8c..e0f9536 100644 --- a/gcc/rust/ast/rust-expr.h +++ b/gcc/rust/ast/rust-expr.h @@ -568,7 +568,6 @@ public: RIGHT_SHIFT // std::ops::Shr }; -private: // Note: overloading trait specified in comments ExprType expr_type; @@ -880,10 +879,10 @@ protected: // Binary assignment expression. class AssignmentExpr : public OperatorExpr { +public: // Expr* right_expr; ::std::unique_ptr<Expr> right_expr; -public: /*~AssignmentExpr() { delete right_expr; }*/ |