From af510c1aabb8e7efade1c59de5783eb87e519ff8 Mon Sep 17 00:00:00 2001 From: chaoticgd <43898262+chaoticgd@users.noreply.github.com> Date: Tue, 22 Oct 2024 05:11:16 +0100 Subject: [PATCH] Fix some formatting mistakes --- src/ccc/stabs_to_ast.h | 2 +- src/ccc/symbol_database.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ccc/stabs_to_ast.h b/src/ccc/stabs_to_ast.h index 2240c95..340ba9c 100644 --- a/src/ccc/stabs_to_ast.h +++ b/src/ccc/stabs_to_ast.h @@ -8,7 +8,7 @@ #include "symbol_database.h" namespace ccc { - + struct StabsToAstState { SourceFileHandle file_handle; std::map* stabs_types; diff --git a/src/ccc/symbol_database.h b/src/ccc/symbol_database.h index 827913c..d417205 100644 --- a/src/ccc/symbol_database.h +++ b/src/ccc/symbol_database.h @@ -642,7 +642,8 @@ class SymbolDatabase { void clear(); template - void for_each_symbol(Callback callback) { + void for_each_symbol(Callback callback) + { // Use indices here to avoid iterator invalidation. #define CCC_X(SymbolType, symbol_list) \ for (s32 i = 0; i < symbol_list.size(); i++) { \