mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
Let module lookups ignore access control
…at least for declarations in the current module. We continue to pretend that inaccessible declarations in other modules do not exist.
This commit is contained in:
@@ -41,7 +41,8 @@ enum NLOptions : unsigned {
|
||||
|
||||
/// Don't check access when doing lookup into a type.
|
||||
///
|
||||
/// This option is not valid when performing lookup into a module.
|
||||
/// When performing lookup into a module, this option only applies to
|
||||
/// declarations in the same module the lookup is coming from.
|
||||
NL_IgnoreAccessControl = 1 << 3,
|
||||
|
||||
/// This lookup should only return type declarations.
|
||||
|
||||
Reference in New Issue
Block a user