diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-12-26 22:35:15 +0000 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2025-01-16 14:00:31 +0000 |
commit | 0bde282a597356cc443d14aff17f9953d1bfda49 (patch) | |
tree | f39f9958b5b6678748c186610f3134ae0be4594f /gcc/rust/ast/rust-collect-lang-items.h | |
parent | 15b928c77f4656394d1d519f3d31bb936ee84fec (diff) | |
download | gcc-0bde282a597356cc443d14aff17f9953d1bfda49.zip gcc-0bde282a597356cc443d14aff17f9953d1bfda49.tar.gz gcc-0bde282a597356cc443d14aff17f9953d1bfda49.tar.bz2 |
lang-items: Collect struct lang items.
gcc/rust/ChangeLog:
* ast/rust-collect-lang-items.cc (CollectLangItems::visit): New.
* ast/rust-collect-lang-items.h: New.
Diffstat (limited to 'gcc/rust/ast/rust-collect-lang-items.h')
-rw-r--r-- | gcc/rust/ast/rust-collect-lang-items.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-collect-lang-items.h b/gcc/rust/ast/rust-collect-lang-items.h index 1d021b1..39cb4be 100644 --- a/gcc/rust/ast/rust-collect-lang-items.h +++ b/gcc/rust/ast/rust-collect-lang-items.h @@ -48,6 +48,7 @@ public: void visit (AST::Trait &item) override; void visit (AST::TraitItemType &item) override; void visit (AST::Function &item) override; + void visit (AST::StructStruct &item) override; private: template <typename T> void maybe_add_lang_item (const T &item); |