mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This gets adjustAccessLevelForProtocolExtension, a hack of sorts to begin with, out of ValueDecl's general API, and down to a helper for isAccessibleFrom and isSetterAccessibleFrom. (The only reason these two don't go through access scopes is as an optimization.)
1.8 KiB
1.8 KiB