Bump clang-format version to 14 (#1983)

Default version coming with Ubuntu 22.04 that the CI now uses.
This commit is contained in:
Kévin Petit
2024-06-25 17:44:31 +01:00
committed by GitHub
parent 80a02cbd48
commit a281046e0e
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
# Arg used to specify non-'origin/main' comparison branch
ORIGIN_BRANCH=${1:-"origin/main"}
CLANG_BINARY=${2:-"`which clang-format-11`"}
CLANG_BINARY=${2:-"`which clang-format-14`"}
# Run git-clang-format to check for violations
CLANG_FORMAT_OUTPUT=$(git-clang-format --diff $ORIGIN_BRANCH --extensions c,cpp,h,hpp --binary $CLANG_BINARY)