Skip to content

Code Formatting Using Clang-Format

This MR adds the following compilation targets

  • make check-format: runs clang-format and determines if all code is correctly formatted, returns false if not. Used in the CI
  • make format: actually runs clang-format on the code and perform required changes

In addition, new CI targets are introduced which automatically check the code formatting.

Edited by Simon Spannagel

Merge request reports