mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
3c67271869
Handle PatternBindingDecls with missing var locations, which can happen for loop iterator vars, and FuncDecls with missing name and func locations, which can happen for `defer`. Also while here make sure we set the source location of a parser-produced ErrorExpr.