diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-03-03 09:17:31 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-03-03 11:08:17 +0000 |
commit | 57b50607988481238275d8a2f73722896cbe0fe2 (patch) | |
tree | b96832bf3aac63617313da70f7dcec9904ae63b1 | |
parent | 17d4a75971a0afec0a9a2bdd123779431105b850 (diff) | |
download | gcc-57b50607988481238275d8a2f73722896cbe0fe2.zip gcc-57b50607988481238275d8a2f73722896cbe0fe2.tar.gz gcc-57b50607988481238275d8a2f73722896cbe0fe2.tar.bz2 |
Add missing accessor for attributes on external items
-rw-r--r-- | gcc/rust/hir/tree/rust-hir-item.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/hir/tree/rust-hir-item.h b/gcc/rust/hir/tree/rust-hir-item.h index 54ba7d5..47e76c8 100644 --- a/gcc/rust/hir/tree/rust-hir-item.h +++ b/gcc/rust/hir/tree/rust-hir-item.h @@ -2821,6 +2821,8 @@ public: Identifier get_item_name () const { return item_name; } + AST::AttrVec &get_outer_attrs () { return outer_attrs; } + protected: ExternalItem (Analysis::NodeMapping mappings, Identifier item_name, Visibility vis, AST::AttrVec outer_attrs, Location locus) |