On Mon, May 13, 2013 at 4:28 PM, Chandler Carruth <[email protected]>wrote:

>
> On Mon, May 13, 2013 at 2:51 PM, Manuel Klimek <[email protected]> wrote:
>
>> Stroustrup brace breaking style:
>> namespace a {
>> class A {
>>   void f()
>>   {
>>     if (x) {
>>       f();
>>     } else {
>>
>
> Err, the really fundamental aspect to the stroustrup style is breaking
> before the else.
>
> http://en.wikipedia.org/wiki/Indent_style#Variant:_Stroustrup
>
> I'm not advocating supporting everything here, just saying that if you
> call it Stroustrup style, it had better match. ;]
>

I implemented Stroustrup style according to the tool "astyle", which is the
documented style checker for multiple projects I found. Also, as far as I
can tell, this is exactly what we'll need for Webkit formatting.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to