Skip to content

Commit f944a54

Browse files
authored
Merge pull request #22595 from brentdax/taken-out-of-the-action
[NFC] Remove vestigial IBActionAttr checks
2 parents cd78226 + 396a9ea commit f944a54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/IRGen/GenObjC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ bool irgen::requiresObjCMethodDescriptor(FuncDecl *method) {
14151415
if (isa<AccessorDecl>(method))
14161416
return false;
14171417

1418-
return method->isObjC() || method->getAttrs().hasAttribute<IBActionAttr>();
1418+
return method->isObjC();
14191419
}
14201420

14211421
bool irgen::requiresObjCMethodDescriptor(ConstructorDecl *constructor) {

lib/SILGen/SILGenType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ bool SILGenModule::requiresObjCMethodEntryPoint(FuncDecl *method) {
159159
if (method->getAttrs().hasAttribute<NSManagedAttr>())
160160
return false;
161161

162-
return method->isObjC() || method->getAttrs().hasAttribute<IBActionAttr>();
162+
return method->isObjC();
163163
}
164164

165165
bool SILGenModule::requiresObjCMethodEntryPoint(ConstructorDecl *constructor) {

0 commit comments

Comments
 (0)