[clang-format] use AllowShortFunctionsOnASingleLine: All (#8502)

This commit updates `AllowShortFunctionsOnASingleLine` to `All`
from `InlineOnly`.
This commit is contained in:
Abtin Keshavarzian
2022-12-08 09:34:05 -08:00
committed by GitHub
parent 48c0582e4e
commit 99a615bec2
229 changed files with 1285 additions and 4964 deletions
+2 -8
View File
@@ -41,10 +41,7 @@ namespace Tmf {
//----------------------------------------------------------------------------------------------------------------------
// MessageInfo
void MessageInfo::SetSockAddrToRloc(void)
{
SetSockAddr(Get<Mle::MleRouter>().GetMeshLocal16());
}
void MessageInfo::SetSockAddrToRloc(void) { SetSockAddr(Get<Mle::MleRouter>().GetMeshLocal16()); }
Error MessageInfo::SetSockAddrToRlocPeerAddrToLeaderAloc(void)
{
@@ -87,10 +84,7 @@ Agent::Agent(Instance &aInstance)
SetResourceHandler(&HandleResource);
}
Error Agent::Start(void)
{
return Coap::Start(kUdpPort, Ip6::kNetifThread);
}
Error Agent::Start(void) { return Coap::Start(kUdpPort, Ip6::kNetifThread); }
template <> void Agent::HandleTmf<kUriRelayRx>(Message &aMessage, const Ip6::MessageInfo &aMessageInfo)
{