From 467141184aa274126ff7e2a41d08bb621b7a3fdf Mon Sep 17 00:00:00 2001 From: Philip Herron Date: Thu, 24 Dec 2020 21:26:26 +0000 Subject: Implement constant expressions --- gcc/rust/ast/rust-item.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/rust/ast') 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 */ -- cgit v1.1