| /external/llvm-project/clang/test/SemaObjC/ |
| D | special-dep-unavail-warning.m | 6 …Meth __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}} 10 …eth2 __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}} 12 …ed)) __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}} 14 - (void)FuzzyMeth1 __attribute__((unavailable)); 18 …eth1 __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}} 22 - (void) unavailMeth2 __attribute__((unavailable)); 23 …ed)) __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}} 25 - (void)FuzzyMeth __attribute__((unavailable));
|
| D | infer-availability-from-init.m | 10 …_attribute__((unavailable)); // expected-note{{'init' has been explicitly marked unavailable here}} 18 +(instancetype)init __attribute__((unavailable)); 27 +(instancetype)init __attribute__((unavailable)); 42 -(instancetype)init __attribute__((unavailable)); 50 -(instancetype)init __attribute__((unavailable)); 61 …attribute__((unavailable)); // expected-note {{'init' has been explicitly marked unavailable here}}
|
| D | call-unavailable-init-in-self.m | 20 …tribute__((unavailable)); // expected-note 4 {{'init' has been explicitly marked unavailable here}} 22 - (void)notImplemented __attribute__((unavailable)); 24 - (void)declaredInSuper __attribute__((unavailable)); 25 - (void)declaredInSuperCategory __attribute__((unavailable)); 80 -(void)meth __attribute__((unavailable));
|
| D | no-warning-unavail-unimp.m | 9 - Method __attribute__((unavailable)); 10 + CMethod __attribute__((unavailable));
|
| D | objc-container-subscripting-attr.m | 6 …le)); // expected-note 2 {{'objectForKeyedSubscript:' has been explicitly marked unavailable here}} 7 …)); // expected-note {{'setObject:forKeyedSubscript:' has been explicitly marked unavailable here}}
|
| D | avoid-unavailable-implementation-warning-in-app-extension.m | 8 …ibute__((availability(ios,unavailable))); // expected-note {{method 'reallyUnavail' declared here}} 9 …lyUnavail2 __attribute__((unavailable)); // expected-note {{method 'reallyUnavail2' declared here}}
|
| D | method-attributes.m | 20 - (int) foo2: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)); 68 …: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)); 69 … (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)); 82 - (id) method3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) { 85 …: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)) {
|
| D | warn-deprecated-implementations.m | 24 - (void) unavailable { } // expected-warning {{implementing unavailable metho}} method 51 …bute__((availability(macos, unavailable))); // expected-note {{method 'unavailable' declared here}} 59 + (void) unavailable { } // expected-warning {{implementing unavailable method}} class
|
| D | attr-availability.m | 24 - (void)overridden5 __attribute__((availability(macosx,unavailable))); 26 - (void)unavailableMethod __attribute__((unavailable)); 38 …warning{{overriding method cannot be unavailable on macOS when its overridden method is available}} 234 …ibute__((unavailable)); // expected-note 4{{'methodB' has been explicitly marked unavailable here}} 283 -(void)methodB __attribute__((unavailable)); 294 -(void)methodB __attribute__((unavailable)) { 300 …ttribute__((unavailable)); // expected-note{{'method' has been explicitly marked unavailable here}}
|
| D | incomplete-implementation.m | 5 - unavailableMeth __attribute__((availability(macosx,unavailable))); 6 - unavailableMeth2 __attribute__((unavailable));
|
| D | attr-deprecated-pch.m | 15 - (void)partiallyUnavailableMethod __attribute__((unavailable));
|
| D | attr-deprecated.m | 262 - (instancetype)init __attribute__((unavailable)); 280 - (void)partiallyUnavailableMethod __attribute__((unavailable)); 295 - (void)anotherPartiallyUnavailableMethod __attribute__((unavailable)); 302 typedef struct {} S1 __attribute__((unavailable)); // expected-note2{{marked unavailable here}} typedef
|
| D | multiple-method-names.m | 9 - (void)foo:(int)i __attribute__((unavailable));
|
| D | invalid-code.m | 53 __attribute__((unavailable)) @interface I4 @end // expected-error {{Objective-C declarations may on… category
|
| /external/clang/test/SemaObjC/ |
| D | special-dep-unavail-warning.m | 6 …Meth __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}} 10 …eth2 __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}} 12 …ed)) __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}} 14 - (void)FuzzyMeth1 __attribute__((unavailable)); 18 …eth1 __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}} 22 - (void) unavailMeth2 __attribute__((unavailable)); 23 …ed)) __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}} 25 - (void)FuzzyMeth __attribute__((unavailable));
|
| D | objc-container-subscripting-attr.m | 6 …le)); // expected-note 2 {{'objectForKeyedSubscript:' has been explicitly marked unavailable here}} 7 …)); // expected-note {{'setObject:forKeyedSubscript:' has been explicitly marked unavailable here}}
|
| D | no-warning-unavail-unimp.m | 9 - Method __attribute__((unavailable)); 10 + CMethod __attribute__((unavailable));
|
| D | method-attributes.m | 20 - (int) foo2: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)); 68 …: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)); 69 … (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)); 82 - (id) method3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) { 85 …: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)) {
|
| D | attr-availability.m | 24 - (void)overridden5 __attribute__((availability(macosx,unavailable))); 26 - (void)unavailableMethod __attribute__((unavailable)); 38 …warning{{overriding method cannot be unavailable on macOS when its overridden method is available}} 218 …ibute__((unavailable)); // expected-note 4{{'methodB' has been explicitly marked unavailable here}} 267 -(void)methodB __attribute__((unavailable)); 278 -(void)methodB __attribute__((unavailable)) { 284 …ttribute__((unavailable)); // expected-note{{'method' has been explicitly marked unavailable here}}
|
| D | incomplete-implementation.m | 5 - unavailableMeth __attribute__((availability(macosx,unavailable))); 6 - unavailableMeth2 __attribute__((unavailable));
|
| D | attr-deprecated-pch.m | 15 - (void)partiallyUnavailableMethod __attribute__((unavailable));
|
| D | attr-deprecated.m | 248 - (instancetype)init __attribute__((unavailable)); 266 - (void)partiallyUnavailableMethod __attribute__((unavailable)); 281 - (void)anotherPartiallyUnavailableMethod __attribute__((unavailable)); 288 typedef struct {} S1 __attribute__((unavailable)); // expected-note2{{marked unavailable here}} typedef
|
| D | multiple-method-names.m | 9 - (void)foo:(int)i __attribute__((unavailable));
|
| D | invalid-code.m | 53 __attribute__((unavailable)) @interface I4 @end // expected-error {{Objective-C declarations may on… category
|
| /external/llvm-project/clang/test/CodeGenObjC/ |
| D | ubsan-nullability-return-unreachable.m | 9 - (instancetype)init __attribute__((unavailable)); 12 - (instancetype)init __attribute__((unavailable)) { __builtin_unreachable(); }
|