lkml.org 
[lkml]   [2022]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 5/5] clang-format: Fix space after for_each macros
From
Date
On Wed, 2022-05-11 at 19:34 +0200, Mickaël Salaün wrote:
> On 11/05/2022 17:40, Joe Perches wrote:
> > On Fri, 2022-05-06 at 18:01 +0200, Mickaël Salaün wrote:
> > > Set SpaceBeforeParens to ControlStatementsExceptForEachMacros to not add
> > > space between a for_each macro and the following parenthesis. This
> > > option is available since clang-format-11 [1] and is in line with the
> > > checkpatch.pl rules [2].
> >
> > If this is applied, could the .clang_format ForEachMacros:
> > block be removed?
>
> The ForEachMacros block is still required to not put the " {" on the
> next line.

Pity these aren't linked as many for_each macro definitions and uses
exist outside of the grep search paths.


\
 
 \ /
  Last update: 2022-05-11 19:40    [W:0.066 / U:2.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site