lkml.org 
[lkml]   [2022]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 4/5] clang-format: Fix empty curly braces
From
Date
On Fri, 2022-05-20 at 19:50 +0200, Miguel Ojeda wrote:
> Hi Joe,
>
> On Fri, May 20, 2022 at 7:24 PM Joe Perches <joe@perches.com> wrote:
> >
> > static inline void foo1(...) {}
> > static inline void foo2(...) {}
> > ...
> > static inline void fooN(...) {}
>
> Those are the non-wrapped-from-signature case, which are handled
> before this option takes place, i.e. this option is about:
>
> void f()
> {}
>
> vs.
>
> void f()
> {
> }
>
> For putting everything on the same line, we could adjust
> `AllowShortFunctionsOnASingleLine` from `None` to `Empty`, though.

As you wish.

I think it's more that there's no "one true style" issue than anything.


\
 
 \ /
  Last update: 2022-05-20 20:01    [W:0.652 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site