diff options
author | Philip Herron <philip.herron@embecosm.com> | 2020-12-24 21:26:26 +0000 |
---|---|---|
committer | Philip Herron <herron.philip@googlemail.com> | 2020-12-25 18:23:22 +0000 |
commit | 467141184aa274126ff7e2a41d08bb621b7a3fdf (patch) | |
tree | f15fd81fb434787967d3837651891bfaa73fee80 /gcc/rust/ast | |
parent | 8d34ac3c1602d8506ae4b65d92075be86f5a6c9a (diff) | |
download | gcc-467141184aa274126ff7e2a41d08bb621b7a3fdf.zip gcc-467141184aa274126ff7e2a41d08bb621b7a3fdf.tar.gz gcc-467141184aa274126ff7e2a41d08bb621b7a3fdf.tar.bz2 |
Implement constant expressions
Diffstat (limited to 'gcc/rust/ast')
-rw-r--r-- | gcc/rust/ast/rust-item.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-item.h b/gcc/rust/ast/rust-item.h index 4b3a2d5..1088842 100644 --- a/gcc/rust/ast/rust-item.h +++ b/gcc/rust/ast/rust-item.h @@ -2531,6 +2531,8 @@ public: return type; } + std::string get_identifier () const { return identifier; } + protected: /* Use covariance to implement clone function as returning this object * rather than base */ |