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

Stuart Morgan stuart at tase.co.uk
Fri Jun 1 19:15:21 UTC 2012


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
-- 
Stuart Morgan


More information about the mythtv-dev mailing list