From e26a4ecb96536e6f6d6baaf6ed13eabf6415f0fa Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Wed, 2 Oct 2019 10:48:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B8=D1=81=D0=BA=20Clang=2010?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMLibCodeAnalysisClangAnalyze.cmake | 7 ++++++- CMLibCodeAnalysisClangTidy.cmake | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CMLibCodeAnalysisClangAnalyze.cmake b/CMLibCodeAnalysisClangAnalyze.cmake index 61ec74f..83333de 100644 --- a/CMLibCodeAnalysisClangAnalyze.cmake +++ b/CMLibCodeAnalysisClangAnalyze.cmake @@ -5,7 +5,12 @@ function(add_clang_analyze_check) option(CLANG_ANALYZE_FIX "Perform fixes for Clang-Check" OFF) 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_FIX) list(APPEND _args "-fix") diff --git a/CMLibCodeAnalysisClangTidy.cmake b/CMLibCodeAnalysisClangTidy.cmake index faae583..1e2efbf 100644 --- a/CMLibCodeAnalysisClangTidy.cmake +++ b/CMLibCodeAnalysisClangTidy.cmake @@ -5,7 +5,12 @@ function(add_clang_tidy_check) option(CLANG_TIDY_FIX "Perform fixes for Clang-Tidy" OFF) 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_FIX) list(APPEND _args "-fix")