mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 18:46:39 +00:00

The clang-tidy selection in CMake was refactored in https://github.com/llvm/llvm-project/pull/81362. During review it was suggested to remove this CMake option.
9 lines
256 B
CMake
9 lines
256 B
CMake
|
|
set(LIBCXX_TEST_TOOLS_PATH ${CMAKE_CURRENT_BINARY_DIR} PARENT_SCOPE)
|
|
|
|
if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|
message(STATUS "Clang-tidy tests are disabled due to non-clang based compiler.")
|
|
return()
|
|
endif()
|
|
add_subdirectory(clang_tidy_checks)
|