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