diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-07-31 10:10:40 +0100 |
|---|---|---|
| committer | Matthew Lugg <mlugg@mlugg.co.uk> | 2025-07-31 22:10:22 +0100 |
| commit | ac1e73e249f8ce06bc7c89d2bdc4359b0399236c (patch) | |
| tree | 8fb4f2d0d148b6da972585034407e9e698039817 /src/zig_llvm.cpp | |
| parent | 04d7b491b436f67e51a17ba6fb49de862fa7bb8c (diff) | |
| download | zig-ac1e73e249f8ce06bc7c89d2bdc4359b0399236c.tar.gz zig-ac1e73e249f8ce06bc7c89d2bdc4359b0399236c.zip | |
std.enums: fix `EnumIndexer` branch quota
It's quite silly to have this override which nonetheless makes
assumptions about the input type. Encode the actual complexity of the
sort.
Also, simplify the sorting logic, and fix a bug (grab min and max
*after* the sort, not *before*!)
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions
