mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
swift-module-digester: include underscored and unavailable decls when checking stdlib abi stability.
This commit is contained in:
@@ -1216,11 +1216,12 @@ SwiftDeclCollector::shouldIgnore(Decl *D, const Decl* Parent) {
|
||||
if (isa<TypeAliasDecl>(VD))
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
if (D->isPrivateStdlibDecl(false))
|
||||
return true;
|
||||
if (AvailableAttr::isUnavailable(D))
|
||||
return true;
|
||||
}
|
||||
if (D->isPrivateStdlibDecl(false))
|
||||
return true;
|
||||
if (AvailableAttr::isUnavailable(D))
|
||||
return true;
|
||||
if (isa<ConstructorDecl>(D))
|
||||
return false;
|
||||
if (auto VD = dyn_cast<ValueDecl>(D)) {
|
||||
|
||||
Reference in New Issue
Block a user