Merge bitcoin/bitcoin#24959: Remove not needed clang-format off comments

fa870e3d4c Remove not needed clang-format off comments (MarcoFalke)

Pull request description:

  It seems odd to disable clang-format and force manual formatting when there is no need for it. So remove the clang-format comments and other unneeded comments.

  Can be reviewed with `--word-diff-regex=. --ignore-all-space`

  Looks like this was initially added in commit d9d79576f4 to accommodate a linter that has since been removed and replaced by a functional test.

ACKs for top commit:
  laanwj:
    Code review ACK fa870e3d4c
  fanquake:
    ACK fa870e3d4c

Tree-SHA512: 0f8f97c12f5dbe517dd96c10b10ce1b8772d8daed33e6b41f73ea1040e89888cf3b8c0ad7b20319e366fe30c71e8b181c89098ae7f6a3deb8647e1b4731db815
This commit is contained in:
laanwj
2022-04-26 15:10:22 +02:00
11 changed files with 175 additions and 221 deletions

View File

@@ -247,17 +247,13 @@ static RPCHelpMan getrpcinfo()
};
}
// clang-format off
static const CRPCCommand vRPCCommands[] =
{ // category actor (function)
// --------------------- -----------------------
static const CRPCCommand vRPCCommands[]{
/* Overall control/query calls */
{ "control", &getrpcinfo, },
{ "control", &help, },
{ "control", &stop, },
{ "control", &uptime, },
{"control", &getrpcinfo},
{"control", &help},
{"control", &stop},
{"control", &uptime},
};
// clang-format on
CRPCTable::CRPCTable()
{