mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 03:02:37 +02:00
Merge bitcoin/bitcoin#22903: Enable clang-tidy bugprone-argument-comment and fix violations
fa57fa1a2eEnable clang-tidy bugprone-argument-comment and fix violations (MarcoFalke) Pull request description: Named arguments can be dangerous when they are wrong, because they are not enforced by the compiler. Currently there are only minor typos, no actual bugs. Fix the typos and add the `.clang-tidy` file to make it easier to find them in the future. ACKs for top commit: practicalswift: cr ACKfa57fa1a2efanquake: ACKfa57fa1a2eTree-SHA512: b66f01e0a1e77e56ed8454002176df660cc2cc0947a90785aa33cc5b8003a1f99fd8b2f8f89f2a0bf180ff2c42c031d69e669d127bb557b879c17975275a220b
This commit is contained in:
@@ -112,7 +112,7 @@ void TestAddAddressesToSendBook(interfaces::Node& node)
|
||||
WalletContext& context = *node.walletClient().context();
|
||||
AddWallet(context, wallet);
|
||||
WalletModel walletModel(interfaces::MakeWallet(context, wallet), clientModel, platformStyle.get());
|
||||
RemoveWallet(context, wallet, /* load_on_startup= */ std::nullopt);
|
||||
RemoveWallet(context, wallet, /* load_on_start= */ std::nullopt);
|
||||
EditAddressDialog editAddressDialog(EditAddressDialog::NewSendingAddress);
|
||||
editAddressDialog.setModel(walletModel.getAddressTableModel());
|
||||
|
||||
|
||||
@@ -167,7 +167,7 @@ void TestGUI(interfaces::Node& node)
|
||||
WalletContext& context = *node.walletClient().context();
|
||||
AddWallet(context, wallet);
|
||||
WalletModel walletModel(interfaces::MakeWallet(context, wallet), clientModel, platformStyle.get());
|
||||
RemoveWallet(context, wallet, /* load_on_startup= */ std::nullopt);
|
||||
RemoveWallet(context, wallet, /* load_on_start= */ std::nullopt);
|
||||
sendCoinsDialog.setModel(&walletModel);
|
||||
transactionView.setModel(&walletModel);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user