Skip to content

Commit be4e3f2

Browse files
committed
Sema: markAsObjC() no longer needs to resolveDeclSignature()
We used to walk the interface type of the declaration to determine if any _ObjectiveCBridgeable conformances need to be completed, but we no longer do that here.
1 parent 324e36f commit be4e3f2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Sema/TypeCheckDeclObjC.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,10 +1628,6 @@ void markAsObjC(ValueDecl *D, ObjCReason reason,
16281628
attr->setInvalid();
16291629
}
16301630

1631-
if (!isa<TypeDecl>(D) && !D->hasInterfaceType()) {
1632-
ctx.getLazyResolver()->resolveDeclSignature(D);
1633-
}
1634-
16351631
if (auto method = dyn_cast<AbstractFunctionDecl>(D)) {
16361632
// Determine the foreign error convention.
16371633
if (auto baseMethod = method->getOverriddenDecl()) {

0 commit comments

Comments
 (0)