Thread (15 messages) flat view 15 messages, 6 authors, 2021-10-05

Re: [PATCH v4] docs: Explain the desired position of function attributes

From: Miguel Ojeda <hidden>
Date: 2021-10-02 16:30:19
Also in: linux-hardening, lkml

On Sat, Oct 2, 2021 at 5:22 PM Joe Perches [off-list ref] wrote:
It's not so much a sort order so much as it's a positional one.
Sure, there are two parts, the order w.r.t. the signature parts (e.g.
"before return type") and the order between the attributes themselves.
Both are included in what I meant.

By the way, clang-format-13 already has a way to pass it a list of the
"attribute macros" (such as `__unused`), so adding more information on
top seems reasonable.

Cheers,
Miguel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help