summaryrefslogtreecommitdiffstats
path: root/config/toolchain
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-11-18 21:42:21 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-11-18 21:42:21 (GMT)
commitec145b88fa2adcb87483864a5a8296eda9223577 (patch)
treef7116b7d8ae37d903f9ad4262c8ac44aa525680d /config/toolchain
parent7200bce6462f023130edc6344333eb0d79cde7fc (diff)
downloadhdf5-ec145b88fa2adcb87483864a5a8296eda9223577.zip
hdf5-ec145b88fa2adcb87483864a5a8296eda9223577.tar.gz
hdf5-ec145b88fa2adcb87483864a5a8296eda9223577.tar.bz2
HDFFV-10962 add VS2019 support
Diffstat (limited to 'config/toolchain')
-rw-r--r--config/toolchain/clang.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/toolchain/clang.cmake b/config/toolchain/clang.cmake
index 7dac587..f9da787 100644
--- a/config/toolchain/clang.cmake
+++ b/config/toolchain/clang.cmake
@@ -13,8 +13,8 @@ find_program(
DOC "Path to clang-tidy executable"
)
-set(CMAKE_C_CLANG_TIDY "${CLANG_TIDY_EXE}" -checks=*,clang-analyzer-*)
-set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_EXE}" -checks=*,clang-analyzer-*)
+set(CMAKE_C_CLANG_TIDY "${CLANG_TIDY_EXE}" -checks=*,clang-analyzer-*,-clang-analyzer-cplusplus*,-readability-*,-google*)
+set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_EXE}" -checks=*,clang-analyzer-*,-clang-analyzer-cplusplus*,-readability-*,-google*)
#find_program(
# CLANG_FORMAT_EXE