Add clang-format tooling and configuration
The pre-commit hook is commented out for now, because it makes no sense to enforce the formatting when the entire project is formatted differently.
The run-clang-format.sh
script should allow you to get an overview of the changes. Please see the comment I have posted on the issue about the pre-declarations of classes/enums in namespaces which is used extensively in this project. Of course one can always exclude parts from the formatting.
Edited by Alexander Lohnau