diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-03-01 17:36:43 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-03-01 17:36:43 -0500 |
| commit | fc17b8ee8bae48b1b4067deee4b38716b935a160 (patch) | |
| tree | 4c86007633847d11ca35f442ec957b1d9864ee55 /src/ir.cpp | |
| parent | 26128396f3abaaba725642220b1fd34e281c8939 (diff) | |
| download | zig-fc17b8ee8bae48b1b4067deee4b38716b935a160.tar.gz zig-fc17b8ee8bae48b1b4067deee4b38716b935a160.zip | |
remove unused function
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index a5a085ff09..7c45a9d588 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -6637,23 +6637,6 @@ static Buf *get_anon_type_name(CodeGen *codegen, IrExecutable *exec, const char } } -static void get_namespace_name(Buf *buf, Scope *scope, uint8_t sep) { - if (!scope) - return; - - if (scope->id == ScopeIdDecls) { - get_namespace_name(buf, scope->parent, sep); - - ScopeDecls *scope_decls = (ScopeDecls *)scope; - if (scope_decls->container_type) { - buf_append_buf(buf, &scope_decls->container_type->name); - buf_append_char(buf, sep); - } - return; - } - - get_namespace_name(buf, scope->parent, sep); -} static IrInstruction *ir_gen_container_decl(IrBuilder *irb, Scope *parent_scope, AstNode *node) { assert(node->type == NodeTypeContainerDecl); |
