Re: [RFC PATCH] .clang-format: Remove conditional comments
From: Joe Perches
Date: Tue Nov 03 2020 - 22:15:25 EST
On Wed, 2020-11-04 at 04:10 +0100, Miguel Ojeda wrote:
> On Wed, Nov 4, 2020 at 1:56 AM Joe Perches <joe@xxxxxxxxxxx> wrote:
> >
> > Do remember that this patch is for the current kernel and
> > not any old version that someone might be compiling.
> >
> > The current kernel _requires_ clang 10.0+ and that would
> > obviously provide clang-format 10+ as well.
>
> You can use clang-format without having ever built a kernel with Clang.
No one ever will use clang-format on the current kernel sources
without having a recent version of clang and clang-format.