Skip to content

Add clang-format tooling and configuration

Alexander Lohnau requested to merge work/clang_format_tooling into master

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.

@wrobelda @tbaumgart

Edited by Alexander Lohnau

Merge request reports