mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.