diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2024-02-27 20:32:31 +0000 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2024-02-29 23:38:18 +0000 |
| commit | f51d9ab892caeb63c40fcd2c1da4ade70038119c (patch) | |
| tree | 3d08789436e8f6c4fd748e63d04f4bb58768668b /src/zig_llvm.cpp | |
| parent | 07d8740882616b18a3dd81629b1ad0b698376399 (diff) | |
| download | zig-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
