| ... | @@ -2336,6 +2336,7 @@ static AstNode *trans_bool_expr(Context *c, ResultUsed result_used, TransScope * | ... | @@ -2336,6 +2336,7 @@ static AstNode *trans_bool_expr(Context *c, ResultUsed result_used, TransScope * |
| 2336 | case BuiltinType::Char16: | 2336 | case BuiltinType::Char16: |
| 2337 | case BuiltinType::Char32: | 2337 | case BuiltinType::Char32: |
| 2338 | case BuiltinType::WChar_S: | 2338 | case BuiltinType::WChar_S: |
| | 2339 | case BuiltinType::Float16: |
| 2339 | return trans_create_node_bin_op(c, res, BinOpTypeCmpNotEq, trans_create_node_unsigned_negative(c, 0, false)); | 2340 | return trans_create_node_bin_op(c, res, BinOpTypeCmpNotEq, trans_create_node_unsigned_negative(c, 0, false)); |
| 2340 | case BuiltinType::NullPtr: | 2341 | case BuiltinType::NullPtr: |
| 2341 | return trans_create_node_bin_op(c, res, BinOpTypeCmpNotEq, trans_create_node(c, NodeTypeNullLiteral)); | 2342 | return trans_create_node_bin_op(c, res, BinOpTypeCmpNotEq, trans_create_node(c, NodeTypeNullLiteral)); |
| ... | @@ -2478,6 +2479,7 @@ static AstNode *trans_bool_expr(Context *c, ResultUsed result_used, TransScope * | ... | @@ -2478,6 +2479,7 @@ static AstNode *trans_bool_expr(Context *c, ResultUsed result_used, TransScope * |
| 2478 | case Type::Pipe: | 2479 | case Type::Pipe: |
| 2479 | case Type::ObjCTypeParam: | 2480 | case Type::ObjCTypeParam: |
| 2480 | case Type::DeducedTemplateSpecialization: | 2481 | case Type::DeducedTemplateSpecialization: |
| | 2482 | case Type::DependentAddressSpace: |
| 2481 | return res; | 2483 | return res; |
| 2482 | } | 2484 | } |
| 2483 | zig_unreachable(); | 2485 | zig_unreachable(); |