refactor, ci: switch clang-format to LLVM 15 (#4297)

Bump required clang-format version to 15
This commit is contained in:
Dmitry Antipov
2022-12-02 18:57:50 +03:00
committed by GitHub
parent 841419d067
commit bf6c80ae35
4 changed files with 9 additions and 7 deletions

View File

@@ -40,10 +40,10 @@ find_cfiles() {
! \( $(get_find_path_args $(trim_comments .clang-format-ignore)) \) "$@"
}
# We're targeting clang-format version 12 and other versions give slightly
# different results, so prefer `clang-format-12` if it's installed.
# We're targeting clang-format version 15 and other versions give slightly
# different results, so prefer `clang-format-15` if it's installed.
clang_format_exe_names=(
'clang-format-12'
'clang-format-15'
'clang-format'
)
for name in ${clang_format_exe_names[@]}; do