mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
01e1627e25
fa875349e2
Fix iwyu (MacroFake)faad673716
Fix issues when calling std::move(const&) (MacroFake) Pull request description: Passing a symbol to `std::move` that is marked `const` is a no-op, which can be fixed in two ways: * Remove the `const`, or * Remove the `std::move` ACKs for top commit: ryanofsky: Code review ACKfa875349e2
. Looks good. Good for univalue to support c++11 move optimizations Tree-SHA512: 3dc5cad55b93cfa311abedfb811f35fc1b7f30a1c68561f15942438916c7de25e179c364be11881e01f844f9c2ccd71a3be55967ad5abd2f35b10bb7a882edea
28 lines
742 B
YAML
28 lines
742 B
YAML
Checks: '
|
|
-*,
|
|
bugprone-argument-comment,
|
|
bugprone-use-after-move,
|
|
misc-unused-using-decls,
|
|
modernize-use-default-member-init,
|
|
modernize-use-nullptr,
|
|
performance-for-range-copy,
|
|
performance-move-const-arg,
|
|
performance-unnecessary-copy-initialization,
|
|
readability-redundant-declaration,
|
|
readability-redundant-string-init,
|
|
'
|
|
WarningsAsErrors: '
|
|
bugprone-argument-comment,
|
|
bugprone-use-after-move,
|
|
misc-unused-using-decls,
|
|
modernize-use-default-member-init,
|
|
modernize-use-nullptr,
|
|
performance-for-range-copy,
|
|
performance-move-const-arg,
|
|
performance-unnecessary-copy-initialization,
|
|
readability-redundant-declaration,
|
|
readability-redundant-string-init,
|
|
'
|
|
CheckOptions:
|
|
- key: performance-move-const-arg.CheckTriviallyCopyableMove
|
|
value: false
|