Merge pull request #9707 from german77/clang15

cmake: Download clang format 15
This commit is contained in:
Morph 2023-01-29 21:00:55 -05:00 committed by GitHub
commit 4069c3ac8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -514,7 +514,7 @@ endif()
# against all the src files. This should be used before making a pull request. # against all the src files. This should be used before making a pull request.
# ======================================================================= # =======================================================================
set(CLANG_FORMAT_POSTFIX "-12") set(CLANG_FORMAT_POSTFIX "-15")
find_program(CLANG_FORMAT find_program(CLANG_FORMAT
NAMES clang-format${CLANG_FORMAT_POSTFIX} NAMES clang-format${CLANG_FORMAT_POSTFIX}
clang-format clang-format