Zig 0.17.0-dev (Split by item) This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig standard library.
std › zig › llvm › ir › ModuleBlock › FunctionBlock › Alloca Public Struct Alloca Doc Source Public Struct std.zig.llvm.ir.ModuleBlock.FunctionBlock.Alloca
pub const Alloca = struct Fields Structs Values File zig/llvm/ir.zig: 1108
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128 pub const Alloca = struct {
pub const Flags = packed struct (u11 ) {
align_lower : u5 ,
inalloca : bool ,
explicit_type : bool ,
swift_error : bool ,
align_upper : u3 ,
};
pub const ops = [_ ]AbbrevOp {
.{ .literal = @backingInt (ModuleBlock .FunctionBlock .Code .INST_ALLOCA ) },
.{ .fixed_runtime = Builder .Type },
.{ .fixed_runtime = Builder .Type },
ValueAbbrev ,
.{ .fixed = @bitSizeOf (Flags ) },
};
inst_type : Builder .Type ,
len_type : Builder .Type ,
len_value : u32 ,
flags : Flags ,
}