Updated clang-tidy check filters
This commit is contained in:
@@ -5,6 +5,8 @@ Checks: >-
|
||||
-*osx*,
|
||||
-abseil*,
|
||||
-android*,
|
||||
-bugprone-branch-clone,
|
||||
-bugprone-exception-escape,
|
||||
-clang-analyzer-alpha.*,
|
||||
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
||||
-cppcoreguidelines-macro-usage,
|
||||
@@ -38,6 +40,7 @@ Checks: >-
|
||||
-readability-redundant-smartptr-get,
|
||||
-readability-convert-member-functions-to-static,
|
||||
-readability-function-cognitive-complexity,
|
||||
-readability-const-return-type,
|
||||
-darwin*,
|
||||
-zircon*
|
||||
WarningsAsErrors: '*'
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,6 +10,7 @@ compile_commands.json
|
||||
CTestTestfile.cmake
|
||||
Session.vim
|
||||
_deps
|
||||
_tidy
|
||||
/build/
|
||||
lib/
|
||||
bin/
|
||||
|
||||
@@ -180,5 +180,8 @@ install(FILES README.md DESTINATION ${CMAKE_INSTALL_DOCDIR})
|
||||
#
|
||||
# Enable testing via CTest
|
||||
#
|
||||
enable_testing()
|
||||
add_subdirectory(tests)
|
||||
option(BUILD_TESTS "" ON)
|
||||
if(BUILD_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(tests)
|
||||
endif(BUILD_TESTS)
|
||||
Reference in New Issue
Block a user