Open conp-solutions opened 2 years ago
I have no strong preference. We simply set riss up with astyle (around 7 years ago).
I'm find switching to clang-format. The template I use in other projects is:
https://github.com/conp-solutions/mergesat/blob/master/.clang-format
That project also has a script for checking:
https://github.com/conp-solutions/mergesat/blob/master/.github/workflows/check-style.yml
Does astyle have any big advantages over clang-format? I already added clang-format in my branch and we could use a script like below to verify everything is formatted correctly. I also already formatted everything using my .clang-format file, so merging with another style now would probably be hell...
We could of course change the .clang-format I created if you like a different style.