mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-20 20:49:50 +01:00
Merge bitcoin/bitcoin#33312: clang-tidy: Disable UndefinedBinaryOperatorResult check in src/ipc
589b65f06cclang-tidy: Disable `UndefinedBinaryOperatorResult` check in `src/ipc` (Hennadii Stepanov) Pull request description: The warnings are false positive and have been fixed upstream. See: https://github.com/capnproto/capnproto/pull/2334. This PR: 1. Disables the `UndefinedBinaryOperatorResult` clang-tidy check for source files generated by the `mpgen` tool. 2. Is an alternative to the draft https://github.com/bitcoin/bitcoin/pull/33281. 3. Fixes https://github.com/bitcoin/bitcoin/issues/33256. ACKs for top commit: Sjors: ACK589b65f06cfjahr: ACK589b65f06cachow101: ACK589b65f06cryanofsky: Code review ACK589b65f06c. Thanks for the fix! Tree-SHA512: 6d376a82641a5b85d4dd1fa164fdcbd8e15f1262e7d4f582f4d9959031d35852e28ff1b8268336e39ba6779fdd10ecdb986af42407d0545f4217f41d64556272
This commit is contained in:
3
src/ipc/.clang-tidy.in
Normal file
3
src/ipc/.clang-tidy.in
Normal file
@@ -0,0 +1,3 @@
|
||||
Checks: '
|
||||
-clang-analyzer-core.UndefinedBinaryOperatorResult,
|
||||
'
|
||||
@@ -21,3 +21,5 @@ target_link_libraries(bitcoin_ipc
|
||||
core_interface
|
||||
univalue
|
||||
)
|
||||
|
||||
configure_file(.clang-tidy.in .clang-tidy USE_SOURCE_PERMISSIONS COPYONLY)
|
||||
|
||||
Reference in New Issue
Block a user