File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1415,7 +1415,7 @@ bool irgen::requiresObjCMethodDescriptor(FuncDecl *method) {
1415
1415
if (isa<AccessorDecl>(method))
1416
1416
return false ;
1417
1417
1418
- return method->isObjC () || method-> getAttrs (). hasAttribute <IBActionAttr>() ;
1418
+ return method->isObjC ();
1419
1419
}
1420
1420
1421
1421
bool irgen::requiresObjCMethodDescriptor (ConstructorDecl *constructor) {
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ bool SILGenModule::requiresObjCMethodEntryPoint(FuncDecl *method) {
159
159
if (method->getAttrs ().hasAttribute <NSManagedAttr>())
160
160
return false ;
161
161
162
- return method->isObjC () || method-> getAttrs (). hasAttribute <IBActionAttr>() ;
162
+ return method->isObjC ();
163
163
}
164
164
165
165
bool SILGenModule::requiresObjCMethodEntryPoint (ConstructorDecl *constructor) {
You can’t perform that action at this time.
0 commit comments