mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
refactor, ci: switch clang-format to LLVM 15 (#4297)
Bump required clang-format version to 15
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user