diff options
author | CohenArthur <cohenarthur.dev@gmail.com> | 2025-01-10 15:26:39 +0100 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2025-01-10 14:54:18 +0000 |
commit | 5db9ab5426ab234ed9cda01ceebc444c90631f6a (patch) | |
tree | d83838f4691462697612b38693b39c2011c8d15f /gcc/rust/util/rust-attributes.cc | |
parent | aa8d6981fd6f564ca2c29ea758e3fb1d7a69034a (diff) | |
download | gcc-5db9ab5426ab234ed9cda01ceebc444c90631f6a.zip gcc-5db9ab5426ab234ed9cda01ceebc444c90631f6a.tar.gz gcc-5db9ab5426ab234ed9cda01ceebc444c90631f6a.tar.bz2 |
Revert "gcc/rust/ChangeLog:"
This reverts commit 600fd806b8821ea24103ea0f31d666077245c6b7.
Diffstat (limited to 'gcc/rust/util/rust-attributes.cc')
-rw-r--r-- | gcc/rust/util/rust-attributes.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/rust/util/rust-attributes.cc b/gcc/rust/util/rust-attributes.cc index 1a66be2..45ebf8c 100644 --- a/gcc/rust/util/rust-attributes.cc +++ b/gcc/rust/util/rust-attributes.cc @@ -37,14 +37,6 @@ Attributes::is_known (const std::string &attribute_path) return !lookup.is_error (); } -bool -Attributes::is_lang_item (const std::string &attribute_path, - const AST::Attribute &attr) -{ - return ((attribute_path == Values::Attributes::LANG) && attr.has_attr_input () - && (attr.get_attr_input ().get_attr_input_type () - == AST::AttrInput::AttrInputType::LITERAL)); -} using Attrs = Values::Attributes; |