zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 4530b446b1c0cd18e4f91f45aec8f314e563175f (tree)
parent 5e52666c83e667c452c9ba0c1c69df68b5492a34
Author: Vallahor <vallahor91@gmail.com>
Date:   Fri,  3 Jun 2022 01:10:58 -0300

autodoc: @check array_cat and array_mul

Diffstat:
Msrc/Autodoc.zig | 20+++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/src/Autodoc.zig b/src/Autodoc.zig @@ -1196,7 +1196,25 @@ fn walkInstruction( }, // @check array_cat and array_mul - .add, .addwrap, .add_sat, .sub, .subwrap, .sub_sat, .mul, .mulwrap, .mul_sat, .div, .shl, .shl_sat, .shr, .bit_or, .bit_and => { + .add, + .addwrap, + .add_sat, + .sub, + .subwrap, + .sub_sat, + .mul, + .mulwrap, + .mul_sat, + .div, + .shl, + .shl_sat, + .shr, + .bit_or, + .bit_and, + // @check still not working when applied in std + // .array_cat, + // .array_mul, + => { const pl_node = data[inst_index].pl_node; const extra = file.zir.extraData(Zir.Inst.Bin, pl_node.payload_index);