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