Incorrect named args are source of bugs, like #22979.
To allow them being checked by clang-tidy
, use a format it can understand.
Incorrect named args are source of bugs, like #22979.
To allow them being checked by clang-tidy
, use a format it can understand.
-BEGIN VERIFY SCRIPT-
sed -i -e 's|, /\* optional \*/ true,|, /*optional=*/true,|g' $( git grep -l ', /\* optional \*/ true,' )
-END VERIFY SCRIPT-
PSA: Also, please do use /*optional=*/true
where needed. It wasted a lot of my time creating a follow-up after literally every merged RPC change to add the missing optional.
Alternatively, please review https://github.com/bitcoin/bitcoin/pull/23083
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
clang-tidy
and it’s fine here, (but throwing errors in other files. i.e wallet/test/wallet_tests.cpp
).
Labels
Refactoring
Docs