Re-disable randomness-related diagnostics in clang-tidy

MinGW does not contain srandom/random by default.
This commit is contained in:
Sebastian Krzyszkowiak 2018-10-10 22:30:27 +02:00
parent d20b81d104
commit ca02e4ed2a
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -22,7 +22,7 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
if(NOT CLANG_TIDY_EXE) if(NOT CLANG_TIDY_EXE)
message(STATUS "clang-tidy not found, analysis disabled") message(STATUS "clang-tidy not found, analysis disabled")
else() else()
set(CMAKE_C_CLANG_TIDY "${CLANG_TIDY_EXE}" "-checks=*,-clang-analyzer-alpha.*,-hicpp-no-assembler,-google-readability-todo,-misc-unused-parameters,-hicpp-signed-bitwise,-hicpp-multiway-paths-covered") set(CMAKE_C_CLANG_TIDY "${CLANG_TIDY_EXE}" "-checks=*,-clang-analyzer-alpha.*,-hicpp-no-assembler,-google-readability-todo,-misc-unused-parameters,-hicpp-signed-bitwise,-hicpp-multiway-paths-covered,-cert-msc30-c,-cert-msc50-cpp,-cert-msc32-c,-cert-msc51-cpp")
endif() endif()
endif() endif()