mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Excise "Accessibility" from the compiler (3/3)
"Accessibility" has a different meaning for app developers, so we've already deliberately excised it from our diagnostics in favor of terms like "access control" and "access level". Do the same in the compiler now that we aren't constantly pulling things into the release branch. Rename AccessibilityAttr to AccessControlAttr and SetterAccessibilityAttr to SetterAccessAttr, then track down the last few uses of "accessibility" that don't have to do with NSAccessibility. (I left the SourceKit XPC API alone because that's supposed to be more stable.)
This commit is contained in:
@@ -250,7 +250,7 @@ struct PrintOptions {
|
||||
/// Whether to print 'override' keyword on overridden decls.
|
||||
bool PrintOverrideKeyword = true;
|
||||
|
||||
/// Whether to print accessibility information on all value decls.
|
||||
/// Whether to print access control information on all value decls.
|
||||
bool PrintAccess = false;
|
||||
|
||||
/// If \c PrintAccess is true, this determines whether to print
|
||||
|
||||
Reference in New Issue
Block a user