Commit Graph

5 Commits

Author SHA1 Message Date
Kim de Vos
a71b428568 Remove ?? position as it never was used 2024-05-10 10:25:49 +02:00
Alex Hoppen
08f1595b5b Never return nil for position conversions
Instead of returning `nil` to indicate that the position conversion failed, log a fault and perform a best-effort recovery.

I think this allows us to perform better recovery and also makes code calling these position conversions a lot simpler because it doesn’t need to make decisions about what to do if position conversions fail.
2024-04-11 13:59:17 -07:00
Alex Hoppen
ed5c7e2e39 Rename language specific language services
The naming was quite inconsistent here. Let’s rename these to `LanguageService` to highlight that they belong together.

- ToolchainLanguageServer -> LanguageService
- SwiftLanguageServer -> SwiftLanguageService
- ClangLanguageServerShim -> ClangLanguageService
2024-03-20 22:51:28 +01:00
Alex Hoppen
6b2b70207b Rename references to function parameters inside function bodies
rdar://122031097
2024-02-23 16:32:20 -08:00
Alex Hoppen
9dd5f1dbf8 Find completion start position using swift-syntax instead of ASCII-based implemenation
rdar://121322872
2024-02-21 15:49:47 -08:00