mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #76257 from AreaZR/e
Use instancetype for the benchmark and SwiftNativeNSObject
This commit is contained in:
@@ -23,7 +23,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
NSArray<NSString *> *bridgedStrings;
|
||||
}
|
||||
|
||||
- (id)init;
|
||||
- (instancetype)init NS_DESIGNATED_INITIALIZER;
|
||||
- (void)setUpStringTests:(NSArray<NSString *> *)bridgedStrings;
|
||||
- (void)testFromString:(NSString *) str;
|
||||
- (NSString *)testToString;
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
@implementation BridgeTester
|
||||
|
||||
- (id)init {
|
||||
- (instancetype)init {
|
||||
self = [super init];
|
||||
if (!self)
|
||||
return self;
|
||||
|
||||
Reference in New Issue
Block a user