diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-22 03:52:21 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-22 03:58:26 +0000 |
| commit | e717664c749cf237479147ddecd70a39fc3426f2 (patch) | |
| tree | 3db2c715f2b566654d356ccd1e3fd6adbe23c260 /lib/CodeGen/RuntimeCheck.cc | |
| parent | 5fdea7e2edd534d15eff95efb33336430d7b4872 (diff) | |
refactor(codegen): share writable variable lookup
emitLValue (variable and designator base) and plain assignment repeated
the same lookup, enum-or-unknown diagnostic and requireWritable check.
Move it into a private lookupWritableSymbol helper. READFILE keeps its
own lookup, which has no enum diagnostic.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'lib/CodeGen/RuntimeCheck.cc')
0 files changed, 0 insertions, 0 deletions
