aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv/CodeGen.zig
diff options
context:
space:
mode:
authorJustus Klausecker <justus@klausecker.de>2025-07-10 01:58:02 +0200
committerJustus Klausecker <justus@klausecker.de>2025-08-07 13:58:47 +0200
commitba549a7d67d0268cdbd4b23a5b7371de4f2d8d33 (patch)
tree2ee5ed3a9546923fa41abeac193634f88f944d82 /src/codegen/spirv/CodeGen.zig
parent1d9b1c021273037efea6623e669800ad538c8075 (diff)
downloadzig-ba549a7d67d0268cdbd4b23a5b7371de4f2d8d33.tar.gz
zig-ba549a7d67d0268cdbd4b23a5b7371de4f2d8d33.zip
Add support for both '_' and 'else' prongs at the same time in switch statements
If both are used, 'else' handles named members and '_' handles unnamed members. In this case the 'else' prong will be unrolled to an explicit case containing all remaining named values.
Diffstat (limited to 'src/codegen/spirv/CodeGen.zig')
0 files changed, 0 insertions, 0 deletions