style: clang-format the entire project

This commit is contained in:
MatthewBeshay
2026-04-09 10:17:55 +10:00
parent 81c2eb82f0
commit cd4b39cf88
803 changed files with 6092 additions and 6095 deletions

View File

@@ -1,15 +1,15 @@
#include "SparseDataStorage.h"
#include <atomic>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <atomic>
#include <vector>
#include "platform/NetTypes.h"
#include "java/InputOutputStream/DataInputStream.h"
#include "java/InputOutputStream/DataOutputStream.h"
#include "platform/NetTypes.h"
// Note: See header for an overview of this class
@@ -90,9 +90,7 @@ SparseDataStorage::~SparseDataStorage() {
// Determine correct means to free this data - could have been allocated
// either with XPhysicalAlloc or malloc
{
free(indicesAndData);
}
{ free(indicesAndData); }
// printf("Free (in dtor) 0x%x\n", indicesAndData);
}
@@ -474,9 +472,7 @@ void SparseDataStorage::tick() {
// if( toFree ) printf("Deleting 0x%x\n", toFree);
// Determine correct means to free this data - could have been allocated
// either with XPhysicalAlloc or malloc
{
free(toFree);
}
{ free(toFree); }
} while (toFree);
deleteQueueIndex = (deleteQueueIndex + 1) % 3;