Make Clang format fail on misformatted files

Merged Alexander Jaust requested to merge make-clang-format-fail-on-error into develop


Make the script that runs the clang-format checks return with an error if a file is not well-formatted. At the moment only a warning is issued.


  • I made sure that the source files are formatted properly.
  • I added my changes to the changelog (
  • I updated the documentation.
Edited by Alexander Jaust

Merge request reports