mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
build: bump clang tools to 20 (#7573)
* build: bump to clang-format-20
* build: bump to clang-tidy-20
* chore: revert edc59ba5d8
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 17 and other versions give slightly
|
||||
# different results, so prefer `clang-format-17` if it's installed.
|
||||
# We're targeting clang-format version 20 and other versions give slightly
|
||||
# different results, so prefer `clang-format-20` if it's installed.
|
||||
clang_format_exe_names=(
|
||||
'clang-format-17'
|
||||
'clang-format-20'
|
||||
'clang-format'
|
||||
)
|
||||
for name in ${clang_format_exe_names[@]}; do
|
||||
|
||||
Reference in New Issue
Block a user