diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-12-04 13:53:11 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-21 12:33:11 +0100 |
commit | f8dd4cc166149c9a9a6393b440a4cf89b8fa6307 (patch) | |
tree | caf67f090c5eda3149f785cbc06e77ce94451923 /gcc/rust/resolve/rust-ast-resolve-path.cc | |
parent | ed773fca7b930403d8863995077e1929bd715d91 (diff) | |
download | gcc-f8dd4cc166149c9a9a6393b440a4cf89b8fa6307.zip gcc-f8dd4cc166149c9a9a6393b440a4cf89b8fa6307.tar.gz gcc-f8dd4cc166149c9a9a6393b440a4cf89b8fa6307.tar.bz2 |
gccrs: attributes: Add class for sharing methods on attributes.
gcc/rust/ChangeLog:
* util/rust-attributes.h (class Attributes): New.
* util/rust-attributes.cc: Implement Attributes::is_known().
* ast/rust-collect-lang-items.cc (is_known_attribute): Remove.
(get_lang_item_attr): Call Attributes::is_known() instead.
* hir/rust-ast-lower-base.cc (ASTLoweringBase::handle_outer_attributes): Likewise.
(ASTLoweringBase::is_known_attribute): Remove.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions