Убрана поддержка старых clang

This commit is contained in:
Andrei Astafev 2020-04-18 22:01:23 +03:00
parent 8defb4fbb4
commit 8a09a61d52
2 changed files with 2 additions and 8 deletions

View File

@ -3,9 +3,6 @@ find_program(
NAMES
clang-check-10
clang-check-9
clang-check-8
clang-check-7
clang-check-6.0
clang-check)
if(CLANG_CHECK_EXE)
option(CMLIB_CLANG_ANALYZE_FIX "Perform fixes for Clang-Check" OFF)
@ -17,7 +14,7 @@ function(add_clang_analyze_check target)
if(CLANG_CHECK_EXE)
if(CMLIB_CLANG_ANALYZE_FIX)
list(APPEND _args "-fix")
list(APPEND _args "--fixit")
endif()
if(NOT TARGET clang-analyze-check)
add_custom_target(clang-analyze-check)

View File

@ -3,9 +3,6 @@ find_program(
NAMES
clang-tidy-10
clang-tidy-9
clang-tidy-8
clang-tidy-7
clang-tidy-6.0
clang-tidy)
if(CLANG_TIDY_EXE)
option(CMLIB_CLANG_TIDY_FIX "Perform fixes for Clang-Tidy" OFF)
@ -17,7 +14,7 @@ function(add_clang_tidy_check target)
if(CLANG_TIDY_EXE)
if(CMLIB_CLANG_TIDY_FIX)
list(APPEND _args "-fix")
list(APPEND _args "--fix")
endif()
if(NOT TARGET clang-tidy-check)
add_custom_target(clang-tidy-check)