Put attributes after the affected item.
We've started using C++ attributes, which appear in double square brackets:
[[maybe_unused]] int foo;
Most examples show the [[maybe_unused]]
attribute before the affected item, but the standard allows, even recommends, they go after the item:
int foo [[maybe_unused]];
Stylistically this is preferable because it keeps multiple declarations, for example, closer to a columnar format, which is easier for human readers to scan, and relegates compiler directives to the end:
double bar;
int foo [[maybe_unused]];
uint32_t baz [[deprecated]];
A good first issue would be to revisit !769 (merged) and move the [[maybe_unused]]
attributes to the end of the declarations.