lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GOP-PROP 3: C++ formatting


From: Jan Warchoł
Subject: Re: GOP-PROP 3: C++ formatting
Date: Sun, 26 Jun 2011 16:23:58 +0200

2011/6/26 Graham Percival <address@hidden>:
> On Sun, Jun 26, 2011 at 03:47:11PM +0200, Jan Warchoł wrote:
>> Ok, since comparing gperciva-fixcc and gperciva-astyle branches didn't
>> work for me, plese verify whether i understood correctly:
>> - we are discussing which program we will use for code formatting, not
>> the actual style
>
> Yes-ish.  We are discussing which program we will use for code
> formatting, and the style will therefore be defined as the output
> of whichever program we choose.
>
>> - each of the suggested programs uses style similar to
>> http://en.wikipedia.org/wiki/Indent_style#GNU_style
>> so whatever we choose, the results will be quite similar. Right?
>
> I would say "vaguely similar".  Some programs have bugs.  We may
> use more than one program (for example fixcc.py) for the
> formatting, and any one of those programs may have bugs.  etc.
>
> The difference between output of astyle and fixcc is 778Kb, and is
> 23173 lines long.

ok. As long as braces indentation stays the same (i.e. it's GNU
style), i'm fine.
Let's choose the simplest solution, which doesn't require installing
anything and can be automated as much as possible. I guess it means
fixcc.

thanks,
Janek



reply via email to

[Prev in Thread] Current Thread [Next in Thread]