Move to clang-format 15 (#621)

The current version requires clang-format-9.  This now getting hard to get.
This commit moves it to the clang-format-15, which is the latest in 22.04.

Also, updates clang-tidy to 15 as well.
This commit is contained in:
Matthew Parkinson
2023-07-18 11:24:07 +01:00
committed by GitHub
parent cdfedd8718
commit 9d4466093a
20 changed files with 282 additions and 346 deletions

View File

@@ -150,7 +150,7 @@ function(clangformat_targets)
# tool. It does not work with older versions as AfterCaseLabel is not supported
# in earlier versions.
find_program(CLANG_FORMAT NAMES
clang-format90 clang-format-9)
clang-format150 clang-format-15)
# If we've found a clang-format tool, generate a target for it, otherwise emit
# a warning.