mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
doc: Convert remaining comments to clang-tidy format
This commit is contained in:
@@ -421,7 +421,7 @@ struct Sections {
|
||||
if (arg.m_type_str.size() != 0 && push_name) {
|
||||
left += "\"" + arg.GetName() + "\": " + arg.m_type_str.at(0);
|
||||
} else {
|
||||
left += push_name ? arg.ToStringObj(/* oneline */ false) : arg.ToString(/* oneline */ false);
|
||||
left += push_name ? arg.ToStringObj(/*oneline=*/false) : arg.ToString(/*oneline=*/false);
|
||||
}
|
||||
left += ",";
|
||||
PushSection({left, arg.ToDescriptionString()});
|
||||
@@ -627,7 +627,7 @@ std::string RPCHelpMan::ToString() const
|
||||
if (was_optional) ret += ") ";
|
||||
was_optional = false;
|
||||
}
|
||||
ret += arg.ToString(/* oneline */ true);
|
||||
ret += arg.ToString(/*oneline=*/true);
|
||||
}
|
||||
if (was_optional) ret += " )";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user