diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a15e057d1e..2fa13f32bd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,7 @@ enable_language(C CXX ASM) include (cmake/arch.cmake) include (cmake/target.cmake) include (cmake/tools.cmake) -include (cmake/analysis.cmake) +include (cmake/clang_tidy.cmake) include (cmake/git_status.cmake) # Ignore export() since we don't use it, diff --git a/cmake/analysis.cmake b/cmake/clang_tidy.cmake similarity index 100% rename from cmake/analysis.cmake rename to cmake/clang_tidy.cmake diff --git a/docs/en/development/cmake-in-clickhouse.md b/docs/en/development/cmake-in-clickhouse.md index 68e0e14f742..fcda774f60e 100644 --- a/docs/en/development/cmake-in-clickhouse.md +++ b/docs/en/development/cmake-in-clickhouse.md @@ -206,7 +206,7 @@ Note that ClickHouse uses forks of these libraries, see https://github.com/Click https://ccache.dev/ -ENABLE_CLANG_TIDY +ENABLE_CLANG_TIDY OFF Use clang-tidy static analyzer https://clang.llvm.org/extra/clang-tidy/ diff --git a/tests/instructions/clang-tidy.txt b/tests/instructions/clang-tidy.txt index 9e9f8cafede..84145564bf0 100644 --- a/tests/instructions/clang-tidy.txt +++ b/tests/instructions/clang-tidy.txt @@ -1,2 +1,2 @@ # clang-tidy has been integrated into CMake: -# --> Build ClickHouse with -DENABLE_CLANG_TIDY=1 and see cmake/analysis.cmake for details +# --> Build ClickHouse with -DENABLE_CLANG_TIDY=1 and see cmake/clang_tidy.cmake for details