summaryrefslogtreecommitdiffstats
path: root/config/toolchain/clang.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-11-18 20:58:06 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-11-18 20:58:06 (GMT)
commit265325fb9aa5dd6e8ca95fecb52528d7f8702c7d (patch)
tree4b82bbc1051ec687d0cf17d7d6a6c55144d4c475 /config/toolchain/clang.cmake
parent3f9c7efbd9a2e8a25266868783cd7665b810017c (diff)
downloadhdf5-265325fb9aa5dd6e8ca95fecb52528d7f8702c7d.zip
hdf5-265325fb9aa5dd6e8ca95fecb52528d7f8702c7d.tar.gz
hdf5-265325fb9aa5dd6e8ca95fecb52528d7f8702c7d.tar.bz2
Add VS2019 support
Diffstat (limited to 'config/toolchain/clang.cmake')
-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