Re: list iterator spacing: clang-format vs checkpatch
From: Miguel Ojeda
Date: Mon Jan 17 2022 - 16:41:30 EST
Hi Joe,
On Mon, Jan 17, 2022 at 7:05 PM Joe Perches <joe@xxxxxxxxxxx> wrote:
>
> Doubtful as it's likely the .clang-format for_each list is
> just out of date for your particular for_each type use and
> the scripted bit that it uses to create them hasn't be
I will send an update.
> updated in awhile. Also that scripted bit only works on files
> in include/ and not anything locally defined.
>
> [...]
>
> So it has false positives for some functions and not macros.
Yeah, for `clang-format` I tried to be conservative having only
`include/`, but we could change that.
Cheers,
Miguel