Re: [RFC] .clang-format: avoid call wrapping that triggers OPEN_ENDED_LINE
From: Miguel Ojeda
Date: Sun Mar 22 2026 - 07:06:58 EST
On Mon, Mar 16, 2026 at 9:29 AM Ralf Lici <ralf@xxxxxxxxxxxxx> wrote:
>
> Therefore I wanted to ask whether maintainers think this class of
> formatting is worth addressing at all, and if so, whether there is any
> openness to adjusting the existing cost model while keeping the current
> clang-format compatibility expectations, or revisiting the minimum
> supported clang-format version for .clang-format so that more specific
> options can be used.
Yeah, we can definitely use options up to the usual LLVM minimum
(currently 15), and yeah, we can tweak things since `clang-format` is
opt-in.
Some maintainers already use `clang-format` to format full files, so
we should be mindful of big changes; but if they are worth it, the
sooner we do it, the better.
Thanks!
Cheers,
Miguel