Updated clang-tidy check filters
This commit is contained in:
@@ -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
1
.gitignore
vendored
@@ -10,6 +10,7 @@ compile_commands.json
|
|||||||
CTestTestfile.cmake
|
CTestTestfile.cmake
|
||||||
Session.vim
|
Session.vim
|
||||||
_deps
|
_deps
|
||||||
|
_tidy
|
||||||
/build/
|
/build/
|
||||||
lib/
|
lib/
|
||||||
bin/
|
bin/
|
||||||
|
|||||||
@@ -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)
|
||||||
Reference in New Issue
Block a user