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++) { \