Use clang-format 15

This commit is contained in:
Jan
2023-10-02 23:46:35 +02:00
parent 616f39a31e
commit 30052461da
2 changed files with 4 additions and 1 deletions

View File

@ -3,4 +3,6 @@
# Go to repository root
cd "$(dirname "$0")/.." || exit 2
find ./src ./test -iname '*.h' -o -iname '*.cpp' | xargs clang-format -Werror -ferror-limit=1 --dry-run
CLANG_FORMAT_BIN="${CLANG_FORMAT_BIN:-clang-format}"
find ./src ./test -iname '*.h' -o -iname '*.cpp' | xargs $CLANG_FORMAT_BIN -Werror -ferror-limit=1 --dry-run