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