clang-tidy: Disable `UndefinedBinaryOperatorResult` check in `src/ipc`

The warnings are false positive and have been fixed upstream.
See: https://github.com/capnproto/capnproto/pull/2334.

This change disables the `UndefinedBinaryOperatorResult` clang-tidy
check for source files generated by the `mpgen` tool.
This commit is contained in:
Hennadii Stepanov 2025-09-04 23:07:40 +01:00
parent e1ce0c525c
commit 589b65f06c
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F
2 changed files with 5 additions and 0 deletions

3
src/ipc/.clang-tidy.in Normal file
View File

@ -0,0 +1,3 @@
Checks: '
-clang-analyzer-core.UndefinedBinaryOperatorResult,
'

View File

@ -21,3 +21,5 @@ target_link_libraries(bitcoin_ipc
core_interface
univalue
)
configure_file(.clang-tidy.in .clang-tidy USE_SOURCE_PERMISSIONS COPYONLY)