Skip to content

Commit

Permalink
[UPDATE] Allow more recent versions for clang-format and clang-tidy.
Browse files Browse the repository at this point in the history
  • Loading branch information
janstrohbeck committed Apr 26, 2019
1 parent bb8837b commit 34ee35d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion FindClangFormat.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@
# endif()

find_program(CLANG_FORMAT_EXECUTABLE
NAMES clang-format-6.0 clang-format clang-format-5.0
NAMES
clang-format-9.0 clang-format-9
clang-format-8.0 clang-format-8
clang-format-7.0 clang-format-7
clang-format-6.0 clang-format-6
clang-format clang-format-5.0
clang-format-4.0 clang-format-3.9
clang-format-3.8 clang-format-3.7
clang-format-3.6 clang-format-3.5
Expand Down
7 changes: 6 additions & 1 deletion FindClangTidy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@
# endif()

find_program(CLANG_TIDY_EXECUTABLE
NAMES clang-tidy-6.0 clang-tidy clang-tidy-5.0
NAMES
clang-tidy-9.0 clang-tidy-9
clang-tidy-8.0 clang-tidy-8
clang-tidy-7.0 clang-tidy-7
clang-tidy-6.0 clang-tidy-6
clang-tidy clang-tidy-5.0
clang-tidy-4.0 clang-tidy-3.9
clang-tidy-3.8 clang-tidy-3.7
clang-tidy-3.6 clang-tidy-3.5
Expand Down

0 comments on commit 34ee35d

Please sign in to comment.