authorgravatar for der.teufel.mail@gmail.comKrzysztof Wolicki <der.teufel.mail@gmail.com> 2023-06-18 14:07:09+00:00
committergravatar for der.teufel.mail@gmail.comKrzysztof Wolicki <der.teufel.mail@gmail.com> 2023-06-18 14:07:09+00:00
loge7fd70a951b5bb80e4bcab2414491dbf36ab65b9
tree3945f68601b361acc1fd44dbb4c14f7dafd8184e
parent329a585fbe50583d6cef7a554c27525afe2e9d41

autodoc: Handle more InternPool.Index types properly in Autodoc


1 files changed, 4 insertions(+), 1 deletions(-)

src/Autodoc.zig+4-1
......@@ -141,10 +141,12 @@ pub fn generateZirData(self: *Autodoc) !void {
141141 .i8_type,
142142 .u16_type,
143143 .i16_type,
144 .u29_type,
144145 .u32_type,
145146 .i32_type,
146147 .u64_type,
147148 .i64_type,
149 .u80_type,
148150 .u128_type,
149151 .i128_type,
150152 .usize_type,
......@@ -157,14 +159,15 @@ pub fn generateZirData(self: *Autodoc) !void {
157159 .c_ulong_type,
158160 .c_longlong_type,
159161 .c_ulonglong_type,
160 .c_longdouble_type,
161162 => .{
162163 .Int = .{ .name = try tmpbuf.toOwnedSlice() },
163164 },
164165 .f16_type,
165166 .f32_type,
166167 .f64_type,
168 .f80_type,
167169 .f128_type,
170 .c_longdouble_type,
168171 => .{
169172 .Float = .{ .name = try tmpbuf.toOwnedSlice() },
170173 },