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 › Call Public Struct Call Doc Source Public Struct std.zig.llvm.ir.ModuleBlock.FunctionBlock.Call
pub const Call = struct Fields Structs Values File zig/llvm/ir.zig: 876
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900 pub const Call = struct {
pub const CallType = packed struct (u17 ) {
tail : bool = false ,
call_conv : Builder .CallConv ,
reserved : u3 = 0 ,
must_tail : bool = false ,
// We always use the explicit type version as that is what LLVM does
explicit_type : bool = true ,
no_tail : bool = false ,
};
pub const ops = [_ ]AbbrevOp {
.{ .literal = @backingInt (ModuleBlock .FunctionBlock .Code .INST_CALL ) },
.{ .fixed_runtime = Builder .FunctionAttributes },
.{ .fixed = @bitSizeOf (CallType ) },
.{ .fixed_runtime = Builder .Type },
ValueAbbrev , // Callee
ValueArrayAbbrev , // Args
};
attributes : Builder .FunctionAttributes ,
call_type : CallType ,
type_id : Builder .Type ,
callee : Builder .Value ,
args : []const Builder .Value ,
}