swift
A few pattern cleanups + fixes
#84149
Merged

A few pattern cleanups + fixes #84149

hamishknight
hamishknight hamishknight requested a review from hborla hborla 58 days ago
hamishknight hamishknight requested a review from xedin xedin 58 days ago
hamishknight hamishknight requested a review from bnbarham bnbarham 58 days ago
hamishknight hamishknight requested a review from CodaFi CodaFi 58 days ago
hamishknight hamishknight requested a review from DougGregor DougGregor 58 days ago
hamishknight hamishknight requested a review from rintaro rintaro 58 days ago
hamishknight hamishknight requested a review from slavapestov slavapestov 58 days ago
hamishknight hamishknight requested a review from jckarter jckarter 58 days ago
hamishknight hamishknight requested a review from kavon kavon 58 days ago
hamishknight hamishknight force pushed 58 days ago
hamishknight hamishknight force pushed 57 days ago
hamishknight [AST] Avoid walking a few more expressions in WalkToVarDecls
9db82cbe
hamishknight [CS] Remove some dead code in `visitCaseItemPattern`
805b6d9c
hamishknight [SILGen] Fix case emission when there are no case body vars
63286ae3
hamishknight [AST] Turn `CaseBodyVariables` into an `ArrayRef`
3e97d729
hamishknight [AST] Make case body variables for CaseStmt non-optional
84befd43
hamishknight [AST] Eagerly wire up VarDecl parents when creating CaseStmt
245e2874
hamishknight [AST] Introduce `CaseStmt::createImplicit`
c02c69a7
hamishknight [AST] Tail-allocate case body variables on CaseStmt
dc13b1f4
hamishknight [Sema] Rename `bindSwitchCasePatternVars` -> `diagnoseCaseVarMutabili…
19831722
hamishknight [AST] Simplify `getRecursiveParentPatternStmt`
413824c0
hamishknight [AST] Remove `findParentPatternCaseStmtAndPattern`
79fe1b35
hamishknight [Sema] Relax a check in `VarDeclUsageChecker`
84847bcd
hamishknight [CS] Set the naming pattern in `markInvalid`
10ed1754
hamishknight hamishknight force pushed to 10ed1754 57 days ago
hamishknight
hamishknight
hamishknight
hamishknight hamishknight changed the title A few CaseStmt pattern cleanups + fixes A few pattern cleanups + fixes 57 days ago
xedin
xedin approved these changes on 2025-09-09
hamishknight hamishknight merged 872176bd into main 56 days ago
hamishknight hamishknight deleted the case-and-pat branch 56 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone