clang-tidy: Disable ArrayBound check in src/ipc and src/test

This commit is contained in:
Hennadii Stepanov committed 2025-10-28 15:34:24 +00:00
1 parent 5efdb0ef30
commit 5d784bebaf
3 files changed
+10 -3

No files matched your search

+5 -3
View File
@@ -1,3 +1,5 @@
Checks: ' Checks:
-clang-analyzer-core.UndefinedBinaryOperatorResult, # See: https://github.com/capnproto/capnproto/pull/2334.
' - "-clang-analyzer-core.UndefinedBinaryOperatorResult"
# See: https://github.com/capnproto/capnproto/pull/2417.
- "-clang-analyzer-security.ArrayBound"
+3
View File
@@ -0,0 +1,3 @@
Checks:
# See: https://github.com/capnproto/capnproto/pull/2417.
- "-clang-analyzer-security.ArrayBound"
+2
View File
@@ -180,6 +180,8 @@ if(ENABLE_IPC)
ipc_tests.cpp ipc_tests.cpp
) )
target_link_libraries(test_bitcoin bitcoin_ipc_test bitcoin_ipc) target_link_libraries(test_bitcoin bitcoin_ipc_test bitcoin_ipc)
configure_file(.clang-tidy.in .clang-tidy USE_SOURCE_PERMISSIONS COPYONLY)
endif() endif()
function(add_boost_test source_file) function(add_boost_test source_file)