mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 08:33:06 +00:00
add: noreturn keyword at end of the fn decl
This commit is contained in:
parent
a3f44b0d21
commit
2809b01b2f
@ -147,6 +147,9 @@ pub fn generateZirData(self: *Autodoc) !void {
|
||||
.Bool = .{ .name = tmpbuf.toOwnedSlice() },
|
||||
},
|
||||
|
||||
.noreturn_type => .{
|
||||
.NoReturn = .{ .name = tmpbuf.toOwnedSlice() },
|
||||
},
|
||||
.void_type => .{
|
||||
.Void = .{ .name = tmpbuf.toOwnedSlice() },
|
||||
},
|
||||
@ -525,6 +528,7 @@ const DocData = struct {
|
||||
try sentinel.jsonStringify(options, w);
|
||||
try w.print(",", .{});
|
||||
}
|
||||
if (options.whitespace) |ws| try ws.outputIndent(w);
|
||||
try w.print(
|
||||
\\"is_allowzero": {},
|
||||
\\"is_mutable": {},
|
||||
|
Loading…
Reference in New Issue
Block a user