mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
These will be used by the RequirementMachine to compute requirement signatures. For now, they're not hooked up. ProtocolDecl::getStructuralRequirements() produces a list of Requirements with SourceLocs from the structural types written in the protocol's inheritance clause and 'where' clauses. ProtocolDecl::getProtocolDependencies() produces a list of protocols which appear on the right hand side of the protocol's conformance requirements.
4.6 KiB
4.6 KiB