Run clang-format 14 on everything

Later versions may need some proprties added or changed to not
format closing braces weirdly.
This commit is contained in:
Rangi42
2024-03-28 09:17:27 -04:00
parent 20b7b591d4
commit cf7bdb19b6
3 changed files with 9 additions and 10 deletions

View File

@@ -246,8 +246,8 @@ static void placeSection(Section &section) {
bankMem.insert(
bankMem.begin() + spaceIdx + 1,
{.address = (uint16_t)(section.org + section.size),
.size = (uint16_t)(freeSpace.address + freeSpace.size - section.org - section.size)
}
.size =
(uint16_t)(freeSpace.address + freeSpace.size - section.org - section.size)}
);
// **`freeSpace` cannot be reused from this point on**, because `bankMem.insert`
// invalidates all references to itself!