Files
swift-mirror/lib/Basic
Alex Hoppen a5f85ee10c [SourceKit] Make sure we reuse ASTContext in function bodies for solver-based cursor info
The main problem that prevented us from reusing the ASTContext was that we weren’t remapping the `LocToResolve` in the temporary buffer that only contains the re-parsed function back to the original buffer. Thus `NodeFinder` couldn’t find the node that we want to get cursor info for.

Getting AST reuse to work for top-level items is harder because it currently heavily relies on the `HasCodeCompletion` state being set on the parser result. I’ll try that in a follow-up PR.

rdar://103251263
2023-02-02 22:03:25 +01:00
..
2023-01-25 16:28:10 -08:00
2022-05-04 14:53:24 -07:00
2022-05-04 14:53:24 -07:00
2022-11-21 19:44:24 +01:00
2022-11-21 19:44:24 +01:00
2022-11-21 19:44:24 +01:00
2021-06-23 14:29:52 -07:00
2022-11-21 19:44:24 +01:00
2022-11-21 19:44:24 +01:00