Replace the conditional weak table in the analyzer driver with a weak reference to the cached data.
Analyzer driver needs to cache some per-compilation data across analyzer diagnostic requests from the IDE. Currently we cache this data using a conditional weak table keyed by the compilation. However, we don't really need the old data once we move to analyzing a new compilation, so we can just use a weak reference.
Showing
想要评论请 注册 或 登录