File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -3142,16 +3142,6 @@ DirectlyReferencedTypeDecls InheritedDeclsReferencedRequest::evaluate(
31423142 llvm::PointerUnion<const TypeDecl *, const ExtensionDecl *> decl,
31433143 unsigned index) const {
31443144
3145- // FIXME: this is an awful hack for NoncopyableGenerics.
3146- // The correct fix here is to integrate the guts of
3147- // `ProtocolDecl::requiresInvertible` into this request, so that it works
3148- // automatically, not only for `ProtocolDecl::inheritsFrom` but for other
3149- // nominal types too.
3150- if (auto typeDecl = decl.dyn_cast <const TypeDecl *>())
3151- if (auto protoDecl = dyn_cast<ProtocolDecl>(typeDecl))
3152- if (protoDecl->isSpecificProtocol (KnownProtocolKind::Sendable))
3153- return {};
3154-
31553145 // Prefer syntactic information when we have it.
31563146 const TypeLoc &typeLoc = InheritedTypes (decl).getEntry (index);
31573147 if (auto typeRepr = typeLoc.getTypeRepr ()) {
You can’t perform that action at this time.
0 commit comments