[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
@@ -52,10 +52,7 @@ static otInstance *sInstance;
printf("%02u:%02u:%02u.%03u " OT_FIRST_ARG(__VA_ARGS__) "\n", (sNow / 36000000), (sNow / 60000) % 60, \
(sNow / 1000) % 60, sNow % 1000 OT_REST_ARGS(__VA_ARGS__))
void otPlatAlarmMilliStop(otInstance *)
{
sAlarmOn = false;
}
void otPlatAlarmMilliStop(otInstance *) { sAlarmOn = false; }
void otPlatAlarmMilliStartAt(otInstance *, uint32_t aT0, uint32_t aDt)
{
@@ -66,10 +63,7 @@ void otPlatAlarmMilliStartAt(otInstance *, uint32_t aT0, uint32_t aDt)
(sAlarmTime - sNow) / 1000, (sAlarmTime - sNow) % 1000);
}
uint32_t otPlatAlarmMilliGetNow(void)
{
return sNow;
}
uint32_t otPlatAlarmMilliGetNow(void) { return sNow; }
} // extern "C"