On Tue, 19 Mar 2019, Jeff Law wrote: > I'll note that our documentation clearly states that attributes can be > applied to functions, variables, labels, enums, statements and types.
A key thing here is that they can be applied to fields - that is, they can be properties of a FIELD_DECL. Referring to a field either requires an expression referring to that field, or some other custom syntax that uses both a type name and a field name (like in __builtin_offsetof). -- Joseph S. Myers [email protected]
