From e7fd70a951b5bb80e4bcab2414491dbf36ab65b9 Mon Sep 17 00:00:00 2001 From: Krzysztof Wolicki Date: Sun, 18 Jun 2023 14:07:09 +0000 Subject: autodoc: Handle more InternPool.Index types properly in Autodoc --- src/Autodoc.zig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Autodoc.zig b/src/Autodoc.zig index b34432fe26..ce4665f1ea 100644 --- a/src/Autodoc.zig +++ b/src/Autodoc.zig @@ -141,10 +141,12 @@ pub fn generateZirData(self: *Autodoc) !void { .i8_type, .u16_type, .i16_type, + .u29_type, .u32_type, .i32_type, .u64_type, .i64_type, + .u80_type, .u128_type, .i128_type, .usize_type, @@ -157,14 +159,15 @@ pub fn generateZirData(self: *Autodoc) !void { .c_ulong_type, .c_longlong_type, .c_ulonglong_type, - .c_longdouble_type, => .{ .Int = .{ .name = try tmpbuf.toOwnedSlice() }, }, .f16_type, .f32_type, .f64_type, + .f80_type, .f128_type, + .c_longdouble_type, => .{ .Float = .{ .name = try tmpbuf.toOwnedSlice() }, }, -- cgit v1.2.3