Evaluate code auto-formatting linting (C++)
It would be great for developers to be able to check (at least some) formatting rules automatically or use auto-formatting. We have now some clang tools installed in the CI images but we still have to evaluate what the best configuration would be.
The idea to go about this would be to start with a configuration file for clang-format that checks basically nothing and then successively add more rules/styles to enforce (in line with the style guide.
So far, we only use the Dune pre-commit hook mechanism to check for trailing whitespace.
This issue can be used to track progress or discuss ideas.