diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-02-06 17:48:06 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-04-06 10:47:23 +0200 |
commit | e90d06c544733165d2e58b86213070f7ebd79f61 (patch) | |
tree | 30985c863049bfae65d1a804a707bfdd11fe0b78 /gcc/rust/hir/tree/rust-hir.h | |
parent | c627781b8f6c2539ea17a9240458e6a53b00f262 (diff) | |
download | gcc-e90d06c544733165d2e58b86213070f7ebd79f61.zip gcc-e90d06c544733165d2e58b86213070f7ebd79f61.tar.gz gcc-e90d06c544733165d2e58b86213070f7ebd79f61.tar.bz2 |
gccrs: Add new virtual function HIR::ImplItem::get_impl_item_name
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/ChangeLog:
* hir/tree/rust-hir-item.h: implement virtual function
* hir/tree/rust-hir.h: add virtual function
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir.h')
-rw-r--r-- | gcc/rust/hir/tree/rust-hir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/hir/tree/rust-hir.h b/gcc/rust/hir/tree/rust-hir.h index 314aafb..28f1f21 100644 --- a/gcc/rust/hir/tree/rust-hir.h +++ b/gcc/rust/hir/tree/rust-hir.h @@ -839,6 +839,8 @@ public: virtual ImplItemType get_impl_item_type () const = 0; + virtual std::string get_impl_item_name () const = 0; + protected: // Clone function implementation as pure virtual method virtual ImplItem *clone_inherent_impl_item_impl () const = 0; |