public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Add missing accessor for attributes on external items
@ 2022-06-08 12:14 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:14 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:57b50607988481238275d8a2f73722896cbe0fe2
commit 57b50607988481238275d8a2f73722896cbe0fe2
Author: Philip Herron <philip.herron@embecosm.com>
Date: Thu Mar 3 09:17:31 2022 +0000
Add missing accessor for attributes on external items
Diff:
---
gcc/rust/hir/tree/rust-hir-item.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/rust/hir/tree/rust-hir-item.h b/gcc/rust/hir/tree/rust-hir-item.h
index 54ba7d59042..47e76c87410 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:14 [gcc/devel/rust/master] Add missing accessor for attributes on external items Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).