@@ -15,22 +15,22 @@ typealias MyTuple = (a: Int, b: AnyObject?)
15
15
typealias MyInt = Int
16
16
17
17
// CHECK-LABEL: @interface Callbacks
18
- // CHECK-NEXT: - (void (^ __nonnull )(void))voidBlocks:(void (^ __nonnull )(void))input;
19
- // CHECK-NEXT: - (void)manyArguments:(void (^ __nonnull )(float, float, double, double))input;
20
- // CHECK-NEXT: - (void)blockTakesBlock:(void (^ __nonnull )(void (^ __nonnull )(void)))input;
21
- // CHECK-NEXT: - (void)blockReturnsBlock:(void (^ __nonnull (^ __nonnull )(void))(void))input;
22
- // CHECK-NEXT: - (void)blockTakesAndReturnsBlock:(uint8_t (^ __nonnull (^ __nonnull )(uint16_t (^ __nonnull )(int16_t)))(int8_t))input;
23
- // CHECK-NEXT: - (void)blockTakesTwoBlocksAndReturnsBlock:(uint8_t (^ __nonnull (^ __nonnull )(uint16_t (^ __nonnull )(int16_t), uint32_t (^ __nonnull )(int32_t)))(int8_t))input;
24
- // CHECK-NEXT: - (void (^ __nullable )(NSObject * __nonnull ))returnsBlockWithInput;
25
- // CHECK-NEXT: - (void (^ __nullable )(NSObject * __nonnull ))returnsBlockWithParenthesizedInput;
26
- // CHECK-NEXT: - (void (^ __nullable )(NSObject * __nonnull , NSObject * __nonnull ))returnsBlockWithTwoInputs;
27
- // CHECK-NEXT: - (void)blockWithTypealias:(NSInteger (^ __nonnull )(NSInteger, id __nullable ))input;
28
- // CHECK-NEXT: - (void)blockWithSimpleTypealias:(NSInteger (^ __nonnull )(NSInteger))input;
29
- // CHECK-NEXT: - (NSInteger (* __nonnull )(NSInteger))functionPointers:(NSInteger (* __nonnull )(NSInteger))input;
30
- // CHECK-NEXT: - (void)functionPointerTakesAndReturnsFunctionPointer:(NSInteger (* __nonnull (^ __nonnull (* __nonnull )(NSInteger))(NSInteger))(NSInteger))input;
31
- // CHECK-NEXT: @property (nonatomic, copy) NSInteger (^ __nullable savedBlock)(NSInteger);
32
- // CHECK-NEXT: @property (nonatomic) NSInteger (* __nonnull savedFunctionPointer)(NSInteger);
33
- // CHECK-NEXT: @property (nonatomic) NSInteger (* __nullable savedFunctionPointer2)(NSInteger);
18
+ // CHECK-NEXT: - (void (^ _Nonnull )(void))voidBlocks:(void (^ _Nonnull )(void))input;
19
+ // CHECK-NEXT: - (void)manyArguments:(void (^ _Nonnull )(float, float, double, double))input;
20
+ // CHECK-NEXT: - (void)blockTakesBlock:(void (^ _Nonnull )(void (^ _Nonnull )(void)))input;
21
+ // CHECK-NEXT: - (void)blockReturnsBlock:(void (^ _Nonnull (^ _Nonnull )(void))(void))input;
22
+ // CHECK-NEXT: - (void)blockTakesAndReturnsBlock:(uint8_t (^ _Nonnull (^ _Nonnull )(uint16_t (^ _Nonnull )(int16_t)))(int8_t))input;
23
+ // CHECK-NEXT: - (void)blockTakesTwoBlocksAndReturnsBlock:(uint8_t (^ _Nonnull (^ _Nonnull )(uint16_t (^ _Nonnull )(int16_t), uint32_t (^ _Nonnull )(int32_t)))(int8_t))input;
24
+ // CHECK-NEXT: - (void (^ _Nullable )(NSObject * _Nonnull ))returnsBlockWithInput;
25
+ // CHECK-NEXT: - (void (^ _Nullable )(NSObject * _Nonnull ))returnsBlockWithParenthesizedInput;
26
+ // CHECK-NEXT: - (void (^ _Nullable )(NSObject * _Nonnull , NSObject * _Nonnull ))returnsBlockWithTwoInputs;
27
+ // CHECK-NEXT: - (void)blockWithTypealias:(NSInteger (^ _Nonnull )(NSInteger, id _Nullable ))input;
28
+ // CHECK-NEXT: - (void)blockWithSimpleTypealias:(NSInteger (^ _Nonnull )(NSInteger))input;
29
+ // CHECK-NEXT: - (NSInteger (* _Nonnull )(NSInteger))functionPointers:(NSInteger (* _Nonnull )(NSInteger))input;
30
+ // CHECK-NEXT: - (void)functionPointerTakesAndReturnsFunctionPointer:(NSInteger (* _Nonnull (^ _Nonnull (* _Nonnull )(NSInteger))(NSInteger))(NSInteger))input;
31
+ // CHECK-NEXT: @property (nonatomic, copy) NSInteger (^ _Nullable savedBlock)(NSInteger);
32
+ // CHECK-NEXT: @property (nonatomic) NSInteger (* _Nonnull savedFunctionPointer)(NSInteger);
33
+ // CHECK-NEXT: @property (nonatomic) NSInteger (* _Nullable savedFunctionPointer2)(NSInteger);
34
34
// CHECK-NEXT: init
35
35
// CHECK-NEXT: @end
36
36
@objc class Callbacks {
0 commit comments