commit e7fd70a951b5bb80e4bcab2414491dbf36ab65b9 (tree)
parent 329a585fbe50583d6cef7a554c27525afe2e9d41
Author: Krzysztof Wolicki <der.teufel.mail@gmail.com>
Date: Sun, 18 Jun 2023 14:07:09 +0000
autodoc: Handle more InternPool.Index types properly in Autodoc
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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() },
},