Убрана поддержка старых clang
This commit is contained in:
parent
8defb4fbb4
commit
8a09a61d52
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user