Closed bodduv closed 6 years ago
The program is now multi-threaded. I see clear performance increase with python utitlities/indent.py -j4
from python utitlities/indent.py -j2
. When the number of threads isn't mentioned like ' -j4', it will try to pick up maximum threads available minus 1.
I think this is ready to merge (without squashing).
I don't know if really like how the function arguments are formatted, but I guess this is now already accepted in deal.II. May be it needs a bit of getting used to.
I really liked how headers get included in an ordered fashion. The current order is: a) deal.II headers, b) boost and PETSc headers, c) deal.II-qc headers, d) c++ stdlib headers, and e) other header.
[x] Minor polishing left in
indent.py
.[x] Figure out way to use multiple threads in python.
[x] Remove
astyle.rc
and legacy indentation tools.[x] More documentation in
indent.py
.PS: Add code formatting using clang-format is the commit that does the job.