mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
swift-api-digester: Ignore the declarations that have no accessibility set. rdar://35375615 (#12784)
This commit is contained in:
@@ -1282,6 +1282,9 @@ static bool shouldIgnore(Decl *D) {
|
||||
return true;
|
||||
if (VD->getBaseName().empty())
|
||||
return true;
|
||||
// This shouldn't happen, being forgiving here.
|
||||
if (!VD->hasAccess())
|
||||
return true;
|
||||
switch (VD->getFormalAccess()) {
|
||||
case AccessLevel::Internal:
|
||||
case AccessLevel::Private:
|
||||
|
||||
Reference in New Issue
Block a user