aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c
diff options
context:
space:
mode:
authorTechatrix <techatrix@mailbox.org>2024-12-28 08:04:15 +0100
committerTechatrix <techatrix@mailbox.org>2025-03-07 22:20:34 +0100
commitad38af77fa8ef3fe6938365258e198696fbf53d9 (patch)
tree00e4a5d103fb0b9686735d1ff953fd5c84b848a2 /src/codegen/c
parent5765736867f17df63740017a2a842427f046743f (diff)
downloadzig-ad38af77fa8ef3fe6938365258e198696fbf53d9.tar.gz
zig-ad38af77fa8ef3fe6938365258e198696fbf53d9.zip
remove unreachable code paths from std.zig.Ast.lastToken
This function checks for various possibilities that are never produced by the parser. Given that lastToken is unsafe to call on an Ast with errors, I also removed code paths that would be reachable on an Ast with errors.
Diffstat (limited to 'src/codegen/c')
0 files changed, 0 insertions, 0 deletions