| ... | ... | @@ -1408,7 +1408,7 @@ TypeTableEntry *find_container(BlockContext *context, Buf *name) { |
| 1408 | 1408 | } |
| 1409 | 1409 | |
| 1410 | 1410 | static TypeEnumField *get_enum_field(TypeTableEntry *enum_type, Buf *name) { |
| 1411 | | for (int i = 0; i < enum_type->data.enumeration.field_count; i += 1) { |
| 1411 | for (uint32_t i = 0; i < enum_type->data.enumeration.field_count; i += 1) { |
| 1412 | 1412 | TypeEnumField *type_enum_field = &enum_type->data.enumeration.fields[i]; |
| 1413 | 1413 | if (buf_eql_buf(type_enum_field->name, name)) { |
| 1414 | 1414 | return type_enum_field; |
| ... | ... | @@ -1418,7 +1418,7 @@ static TypeEnumField *get_enum_field(TypeTableEntry *enum_type, Buf *name) { |
| 1418 | 1418 | } |
| 1419 | 1419 | |
| 1420 | 1420 | static TypeStructField *get_struct_field(TypeTableEntry *struct_type, Buf *name) { |
| 1421 | | for (int i = 0; i < struct_type->data.structure.field_count; i += 1) { |
| 1421 | for (uint32_t i = 0; i < struct_type->data.structure.field_count; i += 1) { |
| 1422 | 1422 | TypeStructField *type_struct_field = &struct_type->data.structure.fields[i]; |
| 1423 | 1423 | if (buf_eql_buf(type_struct_field->name, name)) { |
| 1424 | 1424 | return type_struct_field; |
| ... | ... | @@ -3561,6 +3561,7 @@ Expr *get_resolved_expr(AstNode *node) { |
| 3561 | 3561 | case NodeTypeStructValueField: |
| 3562 | 3562 | zig_unreachable(); |
| 3563 | 3563 | } |
| 3564 | zig_unreachable(); |
| 3564 | 3565 | } |
| 3565 | 3566 | |
| 3566 | 3567 | NumLitCodeGen *get_resolved_num_lit(AstNode *node) { |
| ... | ... | @@ -3607,6 +3608,7 @@ NumLitCodeGen *get_resolved_num_lit(AstNode *node) { |
| 3607 | 3608 | case NodeTypeArrayType: |
| 3608 | 3609 | zig_unreachable(); |
| 3609 | 3610 | } |
| 3611 | zig_unreachable(); |
| 3610 | 3612 | } |
| 3611 | 3613 | |
| 3612 | 3614 | TopLevelDecl *get_resolved_top_level_decl(AstNode *node) { |
| ... | ... | @@ -3654,6 +3656,7 @@ TopLevelDecl *get_resolved_top_level_decl(AstNode *node) { |
| 3654 | 3656 | case NodeTypeArrayType: |
| 3655 | 3657 | zig_unreachable(); |
| 3656 | 3658 | } |
| 3659 | zig_unreachable(); |
| 3657 | 3660 | } |
| 3658 | 3661 | |
| 3659 | 3662 | bool is_node_void_expr(AstNode *node) { |