Home
last modified time | relevance | path

Searched defs:unavailable (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project/clang/test/SemaObjC/
H A Dspecial-dep-unavail-warning.m5 …Meth __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}}
9 …eth2 __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}}
11 …ed)) __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}}
13 - (void)FuzzyMeth1 __attribute__((unavailable));
17 …eth1 __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}}
21 - (void) unavailMeth2 __attribute__((unavailable));
22 …ed)) __attribute__((unavailable)); // expected-note {{has been explicitly marked unavailable here}}
24 - (void)FuzzyMeth __attribute__((unavailable));
H A Dinfer-availability-from-init.m10 …_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}}
H A Dcall-unavailable-init-in-self.m20 …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));
H A Dno-warning-unavail-unimp.m7 - Method __attribute__((unavailable));
8 + CMethod __attribute__((unavailable));
H A Dobjc-container-subscripting-attr.m5 …le)); // expected-note 2 {{'objectForKeyedSubscript:' has been explicitly marked unavailable here}}
6 …)); // expected-note {{'setObject:forKeyedSubscript:' has been explicitly marked unavailable here}}
H A Davoid-unavailable-implementation-warning-in-app-extension.m8 …ibute__((availability(ios,unavailable))); // expected-note {{method 'reallyUnavail' declared here}}
9 …lyUnavail2 __attribute__((unavailable)); // expected-note {{method 'reallyUnavail2' declared here}}
H A Dwarn-deprecated-implementations.m22 - (void) unavailable { } // expected-warning {{implementing unavailable metho}} method
49 …bute__((availability(macos, unavailable))); // expected-note {{method 'unavailable' declared here}}
57 + (void) unavailable { } // expected-warning {{implementing unavailable method}} class
H A Dmethod-attributes.m20 - (int) foo2: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable));
63 …: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable));
64 … (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable));
77 - (id) method3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) {
80 …: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)) {
H A Dattr-deprecated-pch.m15 - (void)partiallyUnavailableMethod __attribute__((unavailable));
H A Dattr-availability.m24 - (void)overridden5 __attribute__((availability(macosx,unavailable)));
26 - (void)unavailableMethod __attribute__((unavailable));
37 …warning{{overriding method cannot be unavailable on macOS when its overridden method is available}}
230 …ibute__((unavailable)); // expected-note 4{{'methodB' has been explicitly marked unavailable here}}
279 -(void)methodB __attribute__((unavailable));
290 -(void)methodB __attribute__((unavailable)) {
296 …ttribute__((unavailable)); // expected-note{{'method' has been explicitly marked unavailable here}}
H A Dincomplete-implementation.m5 - unavailableMeth __attribute__((availability(macosx,unavailable)));
6 - unavailableMeth2 __attribute__((unavailable));
H A Dmultiple-method-names.m9 - (void)foo:(int)i __attribute__((unavailable));
H A Doverride-opt-prop-availability.m33 …warning {{method cannot be unavailable on iOS when the protocol method it implements is available}}
H A Dattr-deprecated.m257 - (instancetype)init __attribute__((unavailable));
275 - (void)partiallyUnavailableMethod __attribute__((unavailable));
290 - (void)anotherPartiallyUnavailableMethod __attribute__((unavailable));
297 typedef struct {} S1 __attribute__((unavailable)); // expected-note2{{marked unavailable here}} typedef
H A Dinvalid-code.m49 __attribute__((unavailable)) @interface I4 @end // expected-error {{Objective-C declarations may on… category
H A Dattr-availability-1.m20 - (void)overridden5 __attribute__((availability(macosx,unavailable)));
31 …warning{{overriding method cannot be unavailable on macOS when its overridden method is available}}
/llvm-project/clang/test/CodeGenObjC/
H A Dubsan-nullability-return-unreachable.m9 - (instancetype)init __attribute__((unavailable));
12 - (instancetype)init __attribute__((unavailable)) { __builtin_unreachable(); }
/llvm-project/clang/test/ExtractAPI/
H A Dglobal_record_multifile.c29 char unavailable __attribute__((unavailable)); variable
H A Dglobal_record.c27 char unavailable __attribute__((unavailable)); variable
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/google/
H A Dobjc-avoid-nsobject-new.m45 - (instancetype)init __attribute__((unavailable));
/llvm-project/clang/test/ARCMT/
H A Dobjcmt-ns-returns-inner-pointer.m98 - (void **) ptr_bytes __attribute__((availability(macosx,unavailable)));
102 - (void *)mutableBytes __attribute__((deprecated)) __attribute__((unavailable));
H A Dobjcmt-migrate-all.m98 - (void **) ptr_bytes __attribute__((availability(macosx,unavailable)));
102 - (void *)mutableBytes __attribute__((deprecated)) __attribute__((unavailable));
H A Dobjcmt-atomic-property.m30 - (NSString *) UnavailProp __attribute__((unavailable));
33 - (NSString *) UnavailProp1 __attribute__((unavailable));
34 - (void) setUnavailProp1 : (NSString *)Val __attribute__((unavailable));
37 - (void) setUnavailProp2 : (NSString *)Val __attribute__((unavailable));
H A Dobjcmt-ns-nonatomic-iosonly.m36 - (NSString *) UnavailProp __attribute__((unavailable));
39 - (NSString *) UnavailProp1 __attribute__((unavailable));
40 - (void) setUnavailProp1 : (NSString *)Val __attribute__((unavailable));
43 - (void) setUnavailProp2 : (NSString *)Val __attribute__((unavailable));
H A Dobjcmt-property.m30 - (NSString *) UnavailProp __attribute__((unavailable));
33 - (NSString *) UnavailProp1 __attribute__((unavailable));
34 - (void) setUnavailProp1 : (NSString *)Val __attribute__((unavailable));
37 - (void) setUnavailProp2 : (NSString *)Val __attribute__((unavailable));

12