mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
IDE: Remove hasAccess() checks
This commit is contained in:
@@ -363,7 +363,6 @@ void swift::ide::printSubmoduleInterface(
|
||||
// Skip declarations that are not accessible.
|
||||
if (auto *VD = dyn_cast<ValueDecl>(D)) {
|
||||
if (Options.AccessFilter > AccessLevel::Private &&
|
||||
VD->hasAccess() &&
|
||||
VD->getFormalAccess() < Options.AccessFilter)
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user