Skip to content

Refactor helper functions around attributes #3291

@CohenArthur

Description

@CohenArthur

We should introduce some helper function here instead, I'm sure it would be reused elsewhere and it would ease this function a bit.
Probably within rust-attributes.cc since we already have some similar functions there ?

Originally posted by @P-E-P in #3289 (comment)

There are plenty of places where attributes are being checked or used and a lot of repetition is happening. We have just added an Attributes class to rust-attributes.cc, and it would be nice to collect functions related to attributes in that class.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions