mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-02 09:15:04 +02:00
[clang-tidy] Enable the misc-no-recursion check
Co-authored-by: stickies-v <stickies-v@protonmail.com> Co-authored-by: Gloria Zhao <gloriajzhao@gmail.com>
This commit is contained in:
@@ -162,6 +162,7 @@ struct RPCArgOptions {
|
||||
//!< methods set the also_positional flag and read values from both positions.
|
||||
};
|
||||
|
||||
// NOLINTNEXTLINE(misc-no-recursion)
|
||||
struct RPCArg {
|
||||
enum class Type {
|
||||
OBJ,
|
||||
@@ -271,6 +272,7 @@ struct RPCArg {
|
||||
std::string ToDescriptionString(bool is_named_arg) const;
|
||||
};
|
||||
|
||||
// NOLINTNEXTLINE(misc-no-recursion)
|
||||
struct RPCResult {
|
||||
enum class Type {
|
||||
OBJ,
|
||||
|
||||
Reference in New Issue
Block a user