mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
swift-module-digester: don't blindly include initializer decls. rdar://45418572
This commit is contained in:
@@ -1324,8 +1324,6 @@ SDKContext::shouldIgnore(Decl *D, const Decl* Parent) const {
|
||||
if (AvailableAttr::isUnavailable(D))
|
||||
return true;
|
||||
}
|
||||
if (isa<ConstructorDecl>(D))
|
||||
return false;
|
||||
if (auto VD = dyn_cast<ValueDecl>(D)) {
|
||||
if (VD->getBaseName().empty())
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user