autodoc: Handle more InternPool.Index types properly in Autodoc
This commit is contained in:
@@ -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() },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user