public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Add missing accessor for attributes on external items Date: Wed, 8 Jun 2022 12:14:46 +0000 (GMT) [thread overview] Message-ID: <20220608121446.5C3E7380FDE5@sourceware.org> (raw) 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)
reply other threads:[~2022-06-08 12:14 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220608121446.5C3E7380FDE5@sourceware.org \ --to=tschwinge@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).