You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// expected-warning@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
141
+
// expected-remark@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
142
142
// expected-note@+1 {{add attribute explicitly to silence this warning}} {{3-3=@objc }}
143
143
vartypicalProperty:Gizmo
144
144
// -- getter
@@ -190,7 +190,7 @@ class Hoozit : Gizmo {
190
190
// CHECK: } // end sil function '$s11objc_thunks6HoozitC15typicalPropertySo5GizmoCvs'
191
191
192
192
// NS_RETURNS_RETAINED getter by family (-copy)
193
-
// expected-warning@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
193
+
// expected-remark@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
194
194
// expected-note@+1 {{add attribute explicitly to silence this warning}} {{3-3=@objc }}
195
195
varcopyProperty:Gizmo
196
196
// -- getter
@@ -239,7 +239,7 @@ class Hoozit : Gizmo {
239
239
// CHECK: destroy_value [[ARG1]]
240
240
// CHECK: } // end sil function '$s11objc_thunks6HoozitC12copyPropertySo5GizmoCvs'
241
241
242
-
// expected-warning@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
242
+
// expected-remark@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
243
243
// expected-note@+1 {{add attribute explicitly to silence this warning}} {{3-3=@objc }}
244
244
varroProperty:Gizmo{returnself}
245
245
// -- getter
@@ -258,7 +258,7 @@ class Hoozit : Gizmo {
258
258
// -- no setter
259
259
// CHECK-NOT: sil hidden [thunk] [ossa] @$s11objc_thunks6HoozitC10roPropertySo5GizmoCvsTo
260
260
261
-
// expected-warning@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
261
+
// expected-remark@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
262
262
// expected-note@+1 {{add attribute explicitly to silence this warning}} {{3-3=@objc }}
263
263
varrwProperty:Gizmo{
264
264
get{
@@ -283,7 +283,7 @@ class Hoozit : Gizmo {
283
283
// CHECK-NEXT: return
284
284
// CHECK-NEXT: }
285
285
286
-
// expected-warning@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
286
+
// expected-remark@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
287
287
// expected-note@+1 {{add attribute explicitly to silence this warning}} {{3-3=@objc }}
288
288
varcopyRWProperty:Gizmo{
289
289
get{
@@ -319,7 +319,7 @@ class Hoozit : Gizmo {
319
319
// CHECK-NEXT: return
320
320
// CHECK-NEXT: }
321
321
322
-
// expected-warning@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
322
+
// expected-remark@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
323
323
// expected-note@+1 {{add attribute explicitly to silence this warning}} {{3-3=@objc }}
324
324
varinitProperty:Gizmo
325
325
// -- getter
@@ -349,13 +349,13 @@ class Hoozit : Gizmo {
349
349
// CHECK-NEXT: return
350
350
// CHECK-NEXT: }
351
351
352
-
// expected-warning@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
352
+
// expected-remark@+2 {{access note for fancy test suite adds attribute 'objc' to this property}}
353
353
// expected-note@+1 {{add attribute explicitly to silence this warning}} {{3-3=@objc }}
354
354
varpropComputed:Gizmo{
355
-
// expected-warning@+2 {{access note for fancy test suite adds attribute 'objc' to this getter}}
355
+
// expected-remark@+2 {{access note for fancy test suite adds attribute 'objc' to this getter}}
356
356
// expected-note@+1 {{add attribute explicitly to silence this warning}} {{5-5=@objc(initPropComputedGetter) }}
357
357
get{returnself}
358
-
// expected-warning@+2 {{access note for fancy test suite adds attribute 'objc' to this setter}}
358
+
// expected-remark@+2 {{access note for fancy test suite adds attribute 'objc' to this setter}}
359
359
// expected-note@+1 {{add attribute explicitly to silence this warning}} {{5-5=@objc(initPropComputedSetter:) }}
360
360
set{}
361
361
}
@@ -410,7 +410,7 @@ class Hoozit : Gizmo {
410
410
}
411
411
412
412
// Subscript
413
-
// expected-warning@+2 {{access note for fancy test suite adds attribute 'objc' to this subscript}}
413
+
// expected-remark@+2 {{access note for fancy test suite adds attribute 'objc' to this subscript}}
414
414
// expected-note@+1 {{add attribute explicitly to silence this warning}} {{3-3=@objc }}
415
415
subscript (i:Int)->Hoozit{
416
416
// Getter
@@ -458,7 +458,7 @@ class Wotsit<T> : Gizmo {
458
458
// CHECK-NEXT: }
459
459
@objc(plain)
460
460
func plain(){}
461
-
// expected-warning@-2 {{access note for fancy test suite changes the '@objc' name of this instance method to 'fancy', but source code specifies 'plain'; the access note will be ignored}}
461
+
// expected-remark@-2 {{access note for fancy test suite changes the '@objc' name of this instance method to 'fancy', but source code specifies 'plain'; the access note will be ignored}}
0 commit comments