| ... | @@ -6637,23 +6637,6 @@ static Buf *get_anon_type_name(CodeGen *codegen, IrExecutable *exec, const char | ... | @@ -6637,23 +6637,6 @@ static Buf *get_anon_type_name(CodeGen *codegen, IrExecutable *exec, const char |
| 6637 | } | 6637 | } |
| 6638 | } | 6638 | } |
| 6639 | | 6639 | |
| 6640 | static void get_namespace_name(Buf *buf, Scope *scope, uint8_t sep) { | | |
| 6641 | if (!scope) | | |
| 6642 | return; | | |
| 6643 | | | |
| 6644 | if (scope->id == ScopeIdDecls) { | | |
| 6645 | get_namespace_name(buf, scope->parent, sep); | | |
| 6646 | | | |
| 6647 | ScopeDecls *scope_decls = (ScopeDecls *)scope; | | |
| 6648 | if (scope_decls->container_type) { | | |
| 6649 | buf_append_buf(buf, &scope_decls->container_type->name); | | |
| 6650 | buf_append_char(buf, sep); | | |
| 6651 | } | | |
| 6652 | return; | | |
| 6653 | } | | |
| 6654 | | | |
| 6655 | get_namespace_name(buf, scope->parent, sep); | | |
| 6656 | } | | |
| 6657 | static IrInstruction *ir_gen_container_decl(IrBuilder *irb, Scope *parent_scope, AstNode *node) { | 6640 | static IrInstruction *ir_gen_container_decl(IrBuilder *irb, Scope *parent_scope, AstNode *node) { |
| 6658 | assert(node->type == NodeTypeContainerDecl); | 6641 | assert(node->type == NodeTypeContainerDecl); |
| 6659 | | 6642 | |