aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-02-27 20:32:31 +0000
committermlugg <mlugg@mlugg.co.uk>2024-02-29 23:38:18 +0000
commitf51d9ab892caeb63c40fcd2c1da4ade70038119c (patch)
tree3d08789436e8f6c4fd748e63d04f4bb58768668b /src/zig_llvm.cpp
parent07d8740882616b18a3dd81629b1ad0b698376399 (diff)
downloadzig-f51d9ab892caeb63c40fcd2c1da4ade70038119c.tar.gz
zig-f51d9ab892caeb63c40fcd2c1da4ade70038119c.zip
Sema: simplify and clarify analyzeBodyInner and wrapper functions
The signature and variants of Sema's main loop have evolved over time to what was a quite confusing state of affairs. This commit makes minor changes to how `analyzeBodyInner` works, and restructures/renames the wrapper functions, adding doc comments to clarify their purposes. The most notable change is that `analyzeBodyInner` now returns `CompileError!void`; inline breaks are now all communicated via `error.ComptimeBreak`.
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions