Updated clang-tidy check filters

This commit is contained in:
Bartek Kryza
2022-12-24 19:01:42 +01:00
parent 0afd64668c
commit 8e8984fe66
3 changed files with 9 additions and 2 deletions

View File

@@ -5,6 +5,8 @@ Checks: >-
-*osx*, -*osx*,
-abseil*, -abseil*,
-android*, -android*,
-bugprone-branch-clone,
-bugprone-exception-escape,
-clang-analyzer-alpha.*, -clang-analyzer-alpha.*,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay, -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-macro-usage, -cppcoreguidelines-macro-usage,
@@ -38,6 +40,7 @@ Checks: >-
-readability-redundant-smartptr-get, -readability-redundant-smartptr-get,
-readability-convert-member-functions-to-static, -readability-convert-member-functions-to-static,
-readability-function-cognitive-complexity, -readability-function-cognitive-complexity,
-readability-const-return-type,
-darwin*, -darwin*,
-zircon* -zircon*
WarningsAsErrors: '*' WarningsAsErrors: '*'

1
.gitignore vendored
View File

@@ -10,6 +10,7 @@ compile_commands.json
CTestTestfile.cmake CTestTestfile.cmake
Session.vim Session.vim
_deps _deps
_tidy
/build/ /build/
lib/ lib/
bin/ bin/

View File

@@ -180,5 +180,8 @@ install(FILES README.md DESTINATION ${CMAKE_INSTALL_DOCDIR})
# #
# Enable testing via CTest # Enable testing via CTest
# #
enable_testing() option(BUILD_TESTS "" ON)
add_subdirectory(tests) if(BUILD_TESTS)
enable_testing()
add_subdirectory(tests)
endif(BUILD_TESTS)