aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPhilip Herron <phil@nebuloninc.com>2020-05-16 23:07:46 +0100
committerPhilip Herron <philip.herron@embecosm.com>2020-11-28 21:13:13 +0000
commit837cc2b5c46844e897545112a8395f94b8a35758 (patch)
tree565406399507236ab8eee8558bf4c1bd4f9b13bc /gcc
parent1d4a355a01e074604cdbd8b557e043cece8d2167 (diff)
downloadgcc-837cc2b5c46844e897545112a8395f94b8a35758.zip
gcc-837cc2b5c46844e897545112a8395f94b8a35758.tar.gz
gcc-837cc2b5c46844e897545112a8395f94b8a35758.tar.bz2
Need access to function and params for CallExpr
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/ast/rust-expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h
index d310968..9da2e8c 100644
--- a/gcc/rust/ast/rust-expr.h
+++ b/gcc/rust/ast/rust-expr.h
@@ -2527,6 +2527,7 @@ protected:
// Function call expression AST node
class CallExpr : public ExprWithoutBlock
{
+public:
// Expr* function;
::std::unique_ptr<Expr> function;
//::std::vector<Expr> params; // inlined form of CallParams
@@ -2534,7 +2535,6 @@ class CallExpr : public ExprWithoutBlock
Location locus;
-public:
/*~CallExpr() {
delete function;
}*/