[code-style] apply clang-format

This commit is contained in:
Jonathan Hui
2018-02-09 21:43:42 +00:00
parent f8e866c65c
commit 69d98d4a53
401 changed files with 13393 additions and 13112 deletions
+9 -3
View File
@@ -36,7 +36,7 @@
void otTestHexToVector(std::string &aHex, std::vector<uint8_t> &aOutBytes)
{
std::istringstream ss(aHex);
std::string word;
std::string word;
while (ss >> word)
{
@@ -53,9 +53,15 @@ void otTestPrintHex(uint8_t *aBuffer, int aLength)
{
printf("%02x ", aBuffer[i]);
if (i % 16 == 7) { printf(" "); }
if (i % 16 == 7)
{
printf(" ");
}
if (i % 16 == 15 && aLength != i + 1) { printf("\n"); }
if (i % 16 == 15 && aLength != i + 1)
{
printf("\n");
}
}
printf("\n");