| ... | ... | @@ -731,6 +731,7 @@ static AstNode *trans_type(Context *c, const Type *ty, const SourceLocation &sou |
| 731 | 731 | case BuiltinType::Char_U: |
| 732 | 732 | case BuiltinType::UChar: |
| 733 | 733 | case BuiltinType::Char_S: |
| 734 | case BuiltinType::Char8: |
| 734 | 735 | return trans_create_node_symbol_str(c, "u8"); |
| 735 | 736 | case BuiltinType::SChar: |
| 736 | 737 | return trans_create_node_symbol_str(c, "i8"); |
| ... | ... | @@ -2245,9 +2246,6 @@ static int trans_local_declaration(Context *c, TransScope *scope, const DeclStmt |
| 2245 | 2246 | case Decl::TranslationUnit: |
| 2246 | 2247 | emit_warning(c, stmt->getLocStart(), "TODO handle decl kind TranslationUnit"); |
| 2247 | 2248 | return ErrorUnexpected; |
| 2248 | | case Decl::Concept: |
| 2249 | | emit_warning(c, stmt->getLocStart(), "TODO handle decl kind Concept"); |
| 2250 | | return ErrorUnexpected; |
| 2251 | 2249 | } |
| 2252 | 2250 | zig_unreachable(); |
| 2253 | 2251 | } |
| ... | ... | @@ -2336,6 +2334,7 @@ static AstNode *trans_bool_expr(Context *c, ResultUsed result_used, TransScope * |
| 2336 | 2334 | case BuiltinType::Float128: |
| 2337 | 2335 | case BuiltinType::LongDouble: |
| 2338 | 2336 | case BuiltinType::WChar_U: |
| 2337 | case BuiltinType::Char8: |
| 2339 | 2338 | case BuiltinType::Char16: |
| 2340 | 2339 | case BuiltinType::Char32: |
| 2341 | 2340 | case BuiltinType::WChar_S: |