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

This commit is contained in:
Hennadii Stepanov 2025-09-23 22:14:27 +01:00
parent 9664135d17
commit 5b20d172ca
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F
3 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,5 @@
Checks: '
-clang-analyzer-core.UndefinedBinaryOperatorResult,
'
Checks:
# 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
src/test/.clang-tidy.in Normal file
View File

@ -0,0 +1,3 @@
Checks:
# See: https://github.com/capnproto/capnproto/pull/2417.
- "-clang-analyzer-security.ArrayBound"

View File

@ -177,6 +177,8 @@ if(ENABLE_IPC)
ipc_tests.cpp
)
target_link_libraries(test_bitcoin bitcoin_ipc_test bitcoin_ipc)
configure_file(.clang-tidy.in .clang-tidy USE_SOURCE_PERMISSIONS COPYONLY)
endif()
function(add_boost_test source_file)