Bug#911561: BreakBeforeBraces: Stroustrup does not break after struct/class

Sylvestre Ledru sylvestre at debian.org
Fri Oct 26 08:30:13 BST 2018


Le 21/10/2018 à 22:35, Marius Mikučionis a écrit :
> 
> 
> On Sun, 21 Oct 2018, 22.30 Sylvestre Ledru <s at mozilla.com <mailto:s at mozilla.com>> wrote:
> 
> 
>     Le 21/10/2018 à 22:23, Marius Mikučionis a écrit :
>>
>>
>>     On Sun, 21 Oct 2018, 22.20 Sylvestre Ledru <s at mozilla.com <mailto:s at mozilla.com>> wrote:
>>
>>
>>         Le 21/10/2018 à 22:09, Marius Mikucionis a écrit :
>>         > Package: clang-format-8
>>         > Version: 1:8~svn343154-1
>>         > Severity: minor
>>         [...]
>>         > I have tested with version 7 and 6, and they behave identically, which is strange.
>>
>>         You mean that it is a regression with 8 or 6/7 have the same issue ?
>>
>>
>>
>>     They all have the same issue, so this is very old, seems broken and untested upstream. 
> 
>     Could you point to the Stroustrup coding style doc about this aspect?
> 
> 
> I followed this doc:
> http://clang.llvm.org/docs/ClangFormatStyleOptions.html
> 
> (search for Stroustrup to scroll to the relevant section) 

This was a documentation issue. The new doc matches the Stroustrup CS now.
I landed the fix upstream here:
https://reviews.llvm.org/rL345371

S



More information about the Pkg-llvm-team mailing list