[mythtv] "tidy" for the c++ source code?

Robert Kulagowski rkulagow at gmail.com
Fri Jun 1 22:18:03 UTC 2012


On Fri, Jun 1, 2012 at 2:23 PM, Robert Kulagowski <rkulagow at gmail.com> wrote:
> On Fri, Jun 1, 2012 at 2:15 PM, Stuart Morgan <stuart at tase.co.uk> wrote:
>> On Friday 01 Jun 2012 13:51:54 Robert Kulagowski wrote:
>>> Does anyone have a good set of "tidy" rules? I've been writing code
>>> and would like to get the formatting back into some semblance of
>>> readability without having to do everything manually.
>>
>> In the extras repo you'll find a rule file for astyle which matches as closely
>> as possible the mythtv coding standards. Which is to say that it gets you
>> mostly there but isn't perfect and may need tweaking. I suggest taking a
>> backup before using it just in case you don't like the results.
>>
>> extras/configs/mythtv_astyle.cfg
>
> Perfect, thanks.

Maybe not so perfect, because it astyle'ed lots of other sections of
code that that weren't modified by me. :)


More information about the mythtv-dev mailing list