Skip to content
Commit Detail

Commit 7e6c868

Author
Dan Lapid <dan.lapid@gmail.com> 2024-08-09 15:27:49 +0100
Parents
066a1a2
Tree
45fe9bd
Add formatting infrastructure to the project.

Add infrastructure to format c++ files with clang-format.
We require clang-format-18 because some of the clang-format options
we're using have only been released with clang-format 18.
General project llvm version required remains unchanged.
Added:
1. clang-format file matching internal one
2. formatting tool based on python for cross-platform
3. pre-commit and pre-push hooks for formatting validation
4. Lint CI action.

Files changed

6 files changed~6 modified