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

Robert Kulagowski rkulagow at gmail.com
Fri Jun 1 19:23:46 UTC 2012


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.


More information about the mythtv-dev mailing list