Skip to content

Commit 819e1d7

Browse files
committed
ClangImporter: Remove unnecessary setGenericSignature() call
1 parent f7c6c99 commit 819e1d7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4590,11 +4590,6 @@ namespace {
45904590
Impl.SwiftContext.evaluator.cacheOutput(ExtendedNominalRequest{result},
45914591
std::move(objcClass));
45924592

4593-
// Determine the type and generic args of the extension.
4594-
if (objcClass->getGenericParams()) {
4595-
result->setGenericSignature(objcClass->getGenericSignature());
4596-
}
4597-
45984593
// Create the extension declaration and record it.
45994594
objcClass->addExtension(result);
46004595
Impl.ImportedDecls[{decl, getVersion()}] = result;

0 commit comments

Comments
 (0)