Поиск Clang 10
This commit is contained in:
parent
98e9784863
commit
e26a4ecb96
@ -5,7 +5,12 @@ function(add_clang_analyze_check)
|
|||||||
|
|
||||||
option(CLANG_ANALYZE_FIX "Perform fixes for Clang-Check" OFF)
|
option(CLANG_ANALYZE_FIX "Perform fixes for Clang-Check" OFF)
|
||||||
find_program(CLANG_CHECK_EXE
|
find_program(CLANG_CHECK_EXE
|
||||||
NAMES clang-check-9 clang-check-8 clang-check-7 clang-check-6.0 clang-check)
|
NAMES clang-check-10
|
||||||
|
clang-check-9
|
||||||
|
clang-check-8
|
||||||
|
clang-check-7
|
||||||
|
clang-check-6.0
|
||||||
|
clang-check)
|
||||||
if(CLANG_CHECK_EXE)
|
if(CLANG_CHECK_EXE)
|
||||||
if(CLANG_CHECK_FIX)
|
if(CLANG_CHECK_FIX)
|
||||||
list(APPEND _args "-fix")
|
list(APPEND _args "-fix")
|
||||||
|
@ -5,7 +5,12 @@ function(add_clang_tidy_check)
|
|||||||
|
|
||||||
option(CLANG_TIDY_FIX "Perform fixes for Clang-Tidy" OFF)
|
option(CLANG_TIDY_FIX "Perform fixes for Clang-Tidy" OFF)
|
||||||
find_program(CLANG_TIDY_EXE
|
find_program(CLANG_TIDY_EXE
|
||||||
NAMES clang-tidy-9 clang-tidy-8 clang-tidy-7 clang-tidy-6.0 clang-tidy)
|
NAMES clang-tidy-10
|
||||||
|
clang-tidy-9
|
||||||
|
clang-tidy-8
|
||||||
|
clang-tidy-7
|
||||||
|
clang-tidy-6.0
|
||||||
|
clang-tidy)
|
||||||
if(CLANG_TIDY_EXE)
|
if(CLANG_TIDY_EXE)
|
||||||
if(CLANG_TIDY_FIX)
|
if(CLANG_TIDY_FIX)
|
||||||
list(APPEND _args "-fix")
|
list(APPEND _args "-fix")
|
||||||
|
Loading…
Reference in New Issue
Block a user