From 0da76e64d370671d903b4add17d2a4c9474ac8f1 Mon Sep 17 00:00:00 2001 From: utzcoz Date: Sat, 25 Mar 2023 15:50:06 +0800 Subject: [PATCH] scripts: Support clang-format12-14 Signed-off-by: utzcoz --- scripts/format-project.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/format-project.sh b/scripts/format-project.sh index 6731c91a2..c57f5c7ab 100755 --- a/scripts/format-project.sh +++ b/scripts/format-project.sh @@ -8,7 +8,7 @@ set -e if [ ! "${CLANGFORMAT}" ]; then - for fn in clang-format-11 clang-format-10 clang-format-9 clang-format-8 clang-format-7 clang-format-6.0 clang-format; do + for fn in clang-format-14 clang-format-13 clang-format-12 clang-format-11 clang-format-10 clang-format-9 clang-format-8 clang-format-7 clang-format-6.0 clang-format; do if command -v $fn > /dev/null; then CLANGFORMAT=$fn break