Commit 964ba73
committed
[Sema] Inherit ExprAvailabilityWalker from BaseDiagnosticWalker
Simplifies things a tiny amount, and ensures we
don't attempt to walk into non-PatternBindingDecls,
same as other MiscDiagnostic passes. I don't think
this currently makes a difference since I don't
believe we have any interesting cases where a Decl
is nested in an Expr without an intermediate Stmt,
but it's the right thing to do regardless.1 parent 6e09a4e commit 964ba73
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3561 | 3561 | | |
3562 | 3562 | | |
3563 | 3563 | | |
3564 | | - | |
| 3564 | + | |
3565 | 3565 | | |
3566 | 3566 | | |
3567 | 3567 | | |
| |||
3596 | 3596 | | |
3597 | 3597 | | |
3598 | 3598 | | |
3599 | | - | |
3600 | | - | |
3601 | | - | |
3602 | | - | |
3603 | | - | |
3604 | 3599 | | |
3605 | 3600 | | |
3606 | 3601 | | |
| |||
0 commit comments