mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-11 15:27:06 -04:00
Minor code cleanup for backend; add struct_fields_index_by_increasing_offset for future use
This commit is contained in:
1 parent
ebca0398a7
commit
00671a59a0
9 files changed
+99
-113
No files matched your search
+2
-2
@@ -2017,8 +2017,8 @@ void add_comparison_procedures_for_fields(CheckerContext *c, Type *t) {
|
||||
}
|
||||
break;
|
||||
case Type_Struct:
|
||||
for_array(i, t->Struct.fields) {
|
||||
add_comparison_procedures_for_fields(c, t->Struct.fields[i]->type);
|
||||
for (Entity *field : t->Struct.fields) {
|
||||
add_comparison_procedures_for_fields(c, field->type);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user