diff options
author | Philip Herron <herron.philip@googlemail.com> | 2020-05-20 17:54:47 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2020-11-28 21:13:14 +0000 |
commit | 2c6cb7e543ffa19b80ab9daf78bb1b9af8061c05 (patch) | |
tree | ba4c1b78b9c8eee419f2f67f04c08f891c61ffc6 /gcc/rust/ast | |
parent | 1acf8eba36b06ab816866821542d189935ba360e (diff) | |
download | gcc-2c6cb7e543ffa19b80ab9daf78bb1b9af8061c05.zip gcc-2c6cb7e543ffa19b80ab9daf78bb1b9af8061c05.tar.gz gcc-2c6cb7e543ffa19b80ab9daf78bb1b9af8061c05.tar.bz2 |
Add the referenced function to the CallExpr when resolved
Diffstat (limited to 'gcc/rust/ast')
-rw-r--r-- | gcc/rust/ast/rust-expr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h index e0f9536..827ca0d 100644 --- a/gcc/rust/ast/rust-expr.h +++ b/gcc/rust/ast/rust-expr.h @@ -23,6 +23,7 @@ class Statement;*/ // decls no longer required as definitions moved to rust-ast. // Decl as definition moved to rust-ast.h class ExprWithoutBlock; +class Function; // AST node for an expression with an accompanying block - abstract class ExprWithBlock : public Expr @@ -2534,6 +2535,8 @@ public: Location locus; + Function *fndeclRef; + /*~CallExpr() { delete function; }*/ |