mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 01:44:36 +00:00
Minor code cleanup for backend; add struct_fields_index_by_increasing_offset for future use
This commit is contained in:
@@ -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