Skip to content

Commit

Permalink
[UPDATE] Support newer versions of clang-tidy/-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
janstrohbeck committed Aug 16, 2020
1 parent 40a06e4 commit 335e8fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions FindClangFormatCurrent.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
# endif()

find_program(CLANG_FORMAT_EXECUTABLE
NAMES
clang-format-9.0 clang-format-9
NAMES
clang-format-14 clang-format-13
clang-format-12 clang-format-11
clang-format-10 clang-format-9
clang-format-8.0 clang-format-8
clang-format-7.0 clang-format-7
clang-format-6.0 clang-format-6
Expand Down
6 changes: 4 additions & 2 deletions FindClangTidyCurrent.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
# endif()

find_program(CLANG_TIDY_EXECUTABLE
NAMES
clang-tidy-9.0 clang-tidy-9
NAMES
clang-tidy-14 clang-tidy-13
clang-tidy-12 clang-tidy-11
clang-tidy-10 clang-tidy-9
clang-tidy-8.0 clang-tidy-8
clang-tidy-7.0 clang-tidy-7
clang-tidy-6.0 clang-tidy-6
Expand Down

0 comments on commit 335e8fe

Please sign in to comment.