[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
@@ -368,15 +368,9 @@ exit:
return rval;
}
void otPlatUartReceived(const uint8_t *aBuf, uint16_t aBufLength)
{
ReceiveTask(aBuf, aBufLength);
}
void otPlatUartReceived(const uint8_t *aBuf, uint16_t aBufLength) { ReceiveTask(aBuf, aBufLength); }
void otPlatUartSendDone(void)
{
SendDoneTask();
}
void otPlatUartSendDone(void) { SendDoneTask(); }
extern "C" void otAppCliInit(otInstance *aInstance)
{
+3 -12
View File
@@ -50,21 +50,12 @@
extern void otAppCliInit(otInstance *aInstance);
#if OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE
OT_TOOL_WEAK void *otPlatCAlloc(size_t aNum, size_t aSize)
{
return calloc(aNum, aSize);
}
OT_TOOL_WEAK void *otPlatCAlloc(size_t aNum, size_t aSize) { return calloc(aNum, aSize); }
OT_TOOL_WEAK void otPlatFree(void *aPtr)
{
free(aPtr);
}
OT_TOOL_WEAK void otPlatFree(void *aPtr) { free(aPtr); }
#endif
void otTaskletsSignalPending(otInstance *aInstance)
{
OT_UNUSED_VARIABLE(aInstance);
}
void otTaskletsSignalPending(otInstance *aInstance) { OT_UNUSED_VARIABLE(aInstance); }
#if OPENTHREAD_POSIX && !defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)
static otError ProcessExit(void *aContext, uint8_t aArgsLength, char *aArgs[])