Skip to content

Commit dcf607d

Browse files
authored
[ClangImporter] Remove manual setting of Protocol Self depth (#27352)
At one point in the past we probably needed to set this explicitly, but now it seems to be handled for us or derived somewhere. No functionality change.
1 parent e052da7 commit dcf607d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4697,9 +4697,6 @@ namespace {
46974697
/*TrailingWhere=*/nullptr);
46984698
result->computeType();
46994699

4700-
// FIXME: Kind of awkward that we have to do this here
4701-
result->getGenericParams()->getParams()[0]->setDepth(0);
4702-
47034700
addObjCAttribute(result, Impl.importIdentifier(decl->getIdentifier()));
47044701

47054702
if (declaredNative)

0 commit comments

Comments
 (0)