Re: list iterator spacing: clang-format vs checkpatch

From: Miguel Ojeda
Date: Mon Jan 17 2022 - 16:41:24 EST


Hi Jason,

On Mon, Jan 17, 2022 at 1:47 PM Jason A. Donenfeld <Jason@xxxxxxxxx> wrote:
>
> - If not, is clang-format ever going to be fixed to quit adding them?

`ControlStatementsExceptForEachMacros` was added in LLVM 11 (and
`SpaceBeforeParensOptions` in LLVM 14, which gives even more
fine-grained control).

So it is coming -- the question is whether we wait a bit until LLVM 11
is the minimum supported version (nowadays LLVM 10) or we are willing
to require LLVM 11.

Cheers,
Miguel