From eab1f4783ba0ba536a1a6c45e99f750c83d8b7bc Mon Sep 17 00:00:00 2001 From: Alexandros Naskos Date: Thu, 18 Jun 2020 20:31:39 +0300 Subject: [PATCH] Removed unused code --- src/analysis.zig | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/analysis.zig b/src/analysis.zig index 415b021..bd41247 100644 --- a/src/analysis.zig +++ b/src/analysis.zig @@ -754,16 +754,6 @@ pub fn resolveTypeOfNodeInternal( return innermostContainer(handle, handle.tree.token_locs[builtin_call.firstToken()].start); } - if (std.mem.eql(u8, call_name, "@cImport")) { - // @TODO - if (builtin_call.params_len != 1) return null; - - // 1 - Get innermost container scope. - if (builtin_call.paramsConst()[0].cast(ast.Node.Block)) |block| { - std.debug.warn("cImport block: {}\n", .{block}); - } - } - const cast_map = std.ComptimeStringMap(void, .{ .{"@as"}, .{"@bitCast"},