refactor: apply clang-format's InsertBraces rule

Formats code before InsertBraces rule is enabled.

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
This commit is contained in:
Radoslaw Jablonski
2025-10-06 12:28:48 +00:00
committed by Compute-Runtime-Automation
parent 9d1da44e08
commit 54de14a9dc
184 changed files with 1286 additions and 690 deletions

View File

@@ -70,16 +70,18 @@ void PrintFormatter::printString(const char *formatString, const std::function<v
continue;
}
while (isConversionSpecifier(formatString[end++]) == false && end < length)
while (isConversionSpecifier(formatString[end++]) == false && end < length) {
;
}
memcpy_s(dataFormat.get(), length, formatString + i, end - i);
dataFormat[end - i] = '\0';
if (formatString[end - 1] == 's')
if (formatString[end - 1] == 's') {
cursor += printStringToken(output.get() + cursor, maxSinglePrintStringLength - cursor, dataFormat.get());
else
} else {
cursor += printToken(output.get() + cursor, maxSinglePrintStringLength - cursor, dataFormat.get());
}
i = end - 1;
} else {