[clang-format] apply v14 changes (#8490)

This commit is contained in:
Jonathan Hui
2022-12-07 16:23:20 -08:00
parent 351298e85f
commit 9c467a23ae
373 changed files with 4176 additions and 2841 deletions
+4 -4
View File
@@ -58,7 +58,7 @@ static const uint8_t sMottoText[] = "Think good thoughts, say good words, d
static const uint8_t sHexText[] = "0123456789abcdef";
static const uint8_t sSkipText[] = "Skip text";
static const uint8_t sHdlcSpecials[] = {kFlagSequence, kFlagXOn, kFlagXOff,
kFlagSequence, kEscapeSequence, kFlagSpecial};
kFlagSequence, kEscapeSequence, kFlagSpecial};
otError WriteToBuffer(const uint8_t *aText, Hdlc::FrameWritePointer &aWritePointer)
{
@@ -126,8 +126,8 @@ void TestHdlcFrameBuffer(void)
void TestHdlcMultiFrameBuffer(void)
{
Hdlc::MultiFrameBuffer<kBufferSize> frameBuffer;
uint8_t * frame = nullptr;
uint8_t * newFrame = nullptr;
uint8_t *frame = nullptr;
uint8_t *newFrame = nullptr;
uint16_t length;
uint16_t newLength;
@@ -454,7 +454,7 @@ void TestEncoderDecoder(void)
DecoderContext decoderContext;
Hdlc::Encoder encoder(encoderBuffer);
Hdlc::Decoder decoder(decoderBuffer, ProcessDecodedFrame, &decoderContext);
uint8_t * frame;
uint8_t *frame;
uint16_t length;
uint8_t badShortFrame[3] = {kFlagSequence, 0xaa, kFlagSequence};