clang-ormat-all: add newer clang-format versions

This commit is contained in:
Nikolaus Demmel 2022-04-08 16:24:37 +02:00
parent de4525a88d
commit 104cf5b7da
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
FOLDER="${1:-$SCRIPT_DIR/../include $SCRIPT_DIR/../src $SCRIPT_DIR/../test/src}" FOLDER="${1:-$SCRIPT_DIR/../include $SCRIPT_DIR/../src $SCRIPT_DIR/../test/src}"
CLANG_FORMAT_COMMANDS="clang-format-11 clang-format-10 clang-format-9 clang-format" CLANG_FORMAT_COMMANDS="clang-format-15 clang-format-14 clang-format-13 clang-format-12 clang-format-11 clang-format-10 clang-format-9 clang-format"
# find the first available command: # find the first available command:
for CMD in $CLANG_FORMAT_COMMANDS; do for CMD in $CLANG_FORMAT_COMMANDS; do