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

From: Miguel Ojeda
Date: Sat Oct 02 2021 - 12:30:24 EST


On Sat, Oct 2, 2021 at 5:22 PM Joe Perches <joe@xxxxxxxxxxx> wrote:
>
> If automated scripts exist to change all the code to that new
> 'one true way', it wouldn't be applied.

I think nobody is saying we should reformat all code at once, just
that agreeing on a given style allows us to eventually automate it (it
also makes humans more likely to be consistent).

> Try writing a regex for the proposal and make sure to separate out
> all the various __<foo> attributes into their proper locations...

It does not need to be a regex...

Cheers,
Miguel