Skip to content

Commit

Permalink
Fix some formatting mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoticgd committed Oct 22, 2024
1 parent e1a032d commit af510c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ccc/stabs_to_ast.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "symbol_database.h"

namespace ccc {

struct StabsToAstState {
SourceFileHandle file_handle;
std::map<StabsTypeNumber, const StabsType*>* stabs_types;
Expand Down
3 changes: 2 additions & 1 deletion src/ccc/symbol_database.h
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,8 @@ class SymbolDatabase {
void clear();

template <typename Callback>
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++) { \
Expand Down

0 comments on commit af510c1

Please sign in to comment.