Closed LorenzMeier closed 8 years ago
I would propose to:
git diff <target_branch> --stat | grep src/ | cut -f2 -d' '
e.g. by using Tools/fix_code_style.sh
git diff master --stat | grep src/ | cut -f2 -d' '`` and then checking if any file changed)We have reached a good point to be able to digest a massive code change in general. The only modules to not touch right now are:
The rest of the code could be formatted now file-by-file and then enforced to follow the code style.
I can't find an astyle 2.5.1 2.05.1 ppa so I'll see how badly building it from source hurts the build time.
Edit: I'm assuming we're actually talking about 2.05.1
See PR #2744
Anything else you'd like to do here?
@dagar Would you be interested to have another stab at this?
It seems like astyle 2.5.1 fixed this. Which means we need a PPA in Travis or build it from source so we have a good version:
Now when using the correct {} instead of ({0}), which is anyway wrong because it invokes the copy constructor, astyle does not mess up the initialiser list any more.