Skip to content

Conversation

fanquake
Copy link
Member

Adds https://clang.llvm.org/extra/clang-tidy/checks/misc/unused-using-decls.html to our clang-tidy.
PR'd after the discussion in #25433 (which it includes).

@DrahtBot
Copy link
Contributor

DrahtBot commented Jun 25, 2022

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #25308 (refactor: Reduce number of LoadChainstate parameters and return values by ryanofsky)
  • #24149 (Signing support for Miniscript Descriptors by darosior)
  • #23319 (rpc: Return fee and prevout (utxos) to getrawtransaction by dougEfresh)

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.

@fanquake fanquake force-pushed the tidy_using_directives branch 3 times, most recently from 6d30020 to 3c61799 Compare June 29, 2022 10:25
The following were unused from the node namespace:
- BLOCKFILE_CHUNK_SIZE
- nPruneTarget
- OpenBlockFile
- UNDOFILE_CHUNK_SIZE
@fanquake fanquake force-pushed the tidy_using_directives branch from 70a6a80 to 6e50313 Compare July 18, 2022 16:18
@fanquake fanquake force-pushed the tidy_using_directives branch from 6e50313 to a02f3f1 Compare July 18, 2022 16:26
Copy link
Contributor

@jamesob jamesob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Github ACK a02f3f1

@maflcko maflcko merged commit 47c86a0 into bitcoin:master Jul 19, 2022
@fanquake fanquake deleted the tidy_using_directives branch July 19, 2022 07:40
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jul 19, 2022
@@ -120,6 +120,8 @@ struct KeyConverter {
//! Singleton instance of KeyConverter.
const KeyConverter CONVERTER{};

// https://github.com/llvm/llvm-project/issues/53444
// NOLINTNEXTLINE(misc-unused-using-decls)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue necessitating the NOLINTNEXTLINE added here is fixed in llvm 16. See llvm/llvm-project#55095.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Followed up with in #27404.

PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Oct 18, 2022
a02f3f1 tidy: use misc-unused-using-decls (fanquake)
d6787bc refactor: remove unused using directives (fanquake)
3617634 validation: remove unused using directives (eugene)

Pull request description:

  Adds https://clang.llvm.org/extra/clang-tidy/checks/misc/unused-using-decls.html to our clang-tidy.
  PR'd after the discussion in bitcoin#25433 (which it includes).

ACKs for top commit:
  jamesob:
    Github ACK bitcoin@a02f3f1

Tree-SHA512: 2bb937c1cc90006e69054458d845fb54f287567f4309c773a3fc859f260558c32ff51fc1c2ce9b43207426f3547e7ce226c87186103d741d5efcca19cd355253
@bitcoin bitcoin locked and limited conversation to collaborators Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants