swift
ac33bd54 - SourceKit: allow expression type request to specify a list of protocol USRs for filtering

Commit
6 years ago
SourceKit: allow expression type request to specify a list of protocol USRs for filtering The client usually cares about a subset of all expressions. A way to differentiate them is by the protocols these expressions' types conform to. This patch allows the request to add a list of protocol USRs so that the response only includes those interested expressions that conform to any of the input protocols. We also add a field to the response for each expression type to indicate the conforming protocols names that were originally in the input list. When an empty list of protocol USRs are given, we report all expressions' types in the file like the old behavior. rdar://35199889
Author
Committer
Parents
Loading