Re: [Xen-devel] [PATCH 2/2] CODING_STYLE: list further brace placement exceptions

2019-07-22 Thread Jan Beulich
On 19.07.2019 18:48, Volodymyr Babchuk wrote: > Jan Beulich writes: >> --- a/CODING_STYLE >> +++ b/CODING_STYLE >> @@ -64,8 +64,13 @@ Bracing >>--- >> >>Braces ('{' and '}') are usually placed on a line of their own, except >> -for the do/while loop. This is unlike the Linux coding

Re: [Xen-devel] [PATCH 2/2] CODING_STYLE: list further brace placement exceptions

2019-07-19 Thread Volodymyr Babchuk
Hi Jan, Jan Beulich writes: > For easy spotting of struct/union/enum definitions we already commonly > place the opening braces on the initial line of such a definition. > > We also often don't place the opening brace of an initializer on a > separate line. > > And finally for compound literals

[Xen-devel] [PATCH 2/2] CODING_STYLE: list further brace placement exceptions

2019-07-19 Thread Jan Beulich
For easy spotting of struct/union/enum definitions we already commonly place the opening braces on the initial line of such a definition. We also often don't place the opening brace of an initializer on a separate line. And finally for compound literals placing the braces on separate lines often