Home
last modified time | relevance | path

Searched refs:deprecated (Results 1 – 25 of 392) sorted by relevance

12345678910>>...16

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dattr-deprecated.m5 …int X __attribute__((deprecated)); // expected-note 2 {{'X' has been explicitly marked deprecated
7 + (void)F __attribute__((deprecated)); // expected-note 2 {{'F' has been explicitly marked deprecat… argument
12 + (void)F __attribute__((deprecated))
104 __attribute__((deprecated))
131 __attribute__((deprecated))
175 __attribute__((deprecated))
179 __attribute__((deprecated))
212 …ong) id object __attribute__((deprecated("deprecated"))); // expected-note {{'object' has been exp…
236 base.object = object; // expected-warning {{'object' is deprecated: deprecated}}
239 [base setObject:object]; // expected-warning {{'setObject:' is deprecated: deprecated}}
[all …]
H A Dattr-availability-priority.m3 …ttribute__((availability(tvos, introduced=11.0, deprecated=12.0))); // expected-note {{marked depr…
4 …attribute__((availability(ios, introduced=11.0, deprecated=12.0))); // expected-note {{marked depr…
6 __attribute__((availability(ios, introduced=11.0, deprecated=12.0)))
10 __attribute__((availability(ios, introduced=11.0, deprecated=12.0)));
13 explicit(); // expected-warning{{'explicit' is deprecated: first deprecated in tvOS 12.0}}
14 inferred(); // expected-warning{{'inferred' is deprecated: first deprecated in tvOS 12.0}}
15 // ok, not deprecated for tvOS.
45 …explicitFromPragma(); // expected-warning {{'explicitFromPragma' is deprecated: first deprecated i…
47 …/ expected-warning {{'implicitLosesOverExplicitFromPragma' is deprecated: first deprecated in tvOS…
49 …implicitFromPragma(); // expected-warning {{'implicitFromPragma' is deprecated: first deprecated i…
[all …]
H A Dwarn-deprecated-implementations.m12 + (void)F __attribute__((deprecated)); argument
16 - (void) E __attribute__((deprecated)); category
20 + (void)F { } // No warning, implementing its own deprecated method
21 - (void) D {} // expected-warning {{implementing deprecated method}}
28 - (void) G __attribute__((deprecated)); argument
32 - (void) G {} // No warning, implementing its own deprecated method
35 __attribute__((deprecated)) // expected-note {{'CL' has been explicitly marked deprecated here}}
45 @interface CL_SUB : CL // expected-warning {{'CL' is deprecated}}
58 - (void) B {} // expected-warning {{implementing deprecated method}}
66 - (id)initSpecialInPrivateHeader __attribute__((deprecated)); category
[all …]
H A Dspecial-dep-unavail-warning.m7 - (void) depInA1 __attribute__((deprecated)); // expected-note {{'depInA1' has been explicitly mark… argument
9 - (void) depInA2 __attribute__((deprecated)); // expected-note {{'depInA2' has been explicitly mark… argument
13 - (void)FuzzyMeth __attribute__((deprecated)); // expected-note {{'FuzzyMeth' has been explicitly m… argument
19 - (void) depInA __attribute__((deprecated)); // expected-note {{'depInA' has been explicitly marked… argument
20 - (void) depInA2 __attribute__((deprecated)); argument
26 - (void)FuzzyMeth1 __attribute__((deprecated)); // expected-note {{'FuzzyMeth1' has been explicitly… argument
33 …[c depInA]; // expected-warning {{'depInA' may be deprecated because the receiver type is unknown}}
35 …[c depInA1]; // expected-warning {{'depInA1' may be deprecated because the receiver type is unknow…
37 …[c depInA2]; // expected-warning {{'depInA2' may be deprecated because the receiver type is unknow…
47 __attribute ((deprecated)) // expected-note {{'DEPRECATED' has been explicitly marked deprecated he…
[all …]
H A Dproperty-deprecated-warning.m55 …et: [self dep_target]]; // expected-warning {{'dep_target' is deprecated: first deprecated in iOS …
56 … // expected-warning {{'setDep_target:' is deprecated: first deprecated in iOS 3.0}}
79 …[self setTarget: (id)0]; // expected-warning {{'setTarget:' is deprecated: first deprecated in iOS…
80 …et: [self dep_target]]; // expected-warning {{'dep_target' is deprecated: first deprecated in iOS …
81 … // expected-warning {{'setDep_target:' is deprecated: first deprecated in iOS 3.0}}
115 …if ([obj isEnabled]) // expected-warning {{'isEnabled' is deprecated: first deprecated in iOS 3.0}}
116 …[obj setNewDelegate:0]; // expected-warning {{'setNewDelegate:' is deprecated: first deprecated in…
137 …return [obj2 ptarget]; // expected-warning {{'ptarget' is deprecated: first deprecated in iOS 3.…
153 - (void)setX:(int)x __attribute__ ((deprecated)); // expected-note 2 {{'setX:' has been explicitly … argument
179 …object.size = object.size; // expected-warning {{'size' is deprecated: first deprecated in iOS 3.0…
[all …]
H A Dattr-deprecated-replacement-fixit.m18 // expected-note@+1 {{has been explicitly marked deprecated here}}
22 // expected-note@+1 {{has been explicitly marked deprecated here}}
26 // expected-note@+1 {{has been explicitly marked deprecated here}}
30 // expected-note@+1 {{has been explicitly marked deprecated here}}
34 // expected-note@+1 {{has been explicitly marked deprecated here}}
38 // expected-note@+1 {{has been explicitly marked deprecated here}}
42 // expected-note@+1 {{has been explicitly marked deprecated here}}
49 // expected-note@+1 {{has been explicitly marked deprecated here}}
63 [object leadingMinus:0]; // expected-warning {{is deprecated}}
66 [object leadingPlus:0]; // expected-warning {{is deprecated}}
[all …]
H A Dattr-availability-1.m11 …bility(macosx,introduced=10_1,deprecated=10_2))); // expected-note 2 {{'proto_method' has been exp…
15 …ailability(macosx,introduced=10_1,deprecated=10_2))); // expected-note {{'method' has been explici…
19 - (void)overridden3 __attribute__((availability(macosx,deprecated=10_3)));
37 [a method]; // expected-warning{{'method' is deprecated: first deprecated in macOS 10.2}}
39 …[a proto_method]; // expected-warning{{'proto_method' is deprecated: first deprecated in macOS 10.…
40 …[b proto_method]; // expected-warning{{'proto_method' is deprecated: first deprecated in macOS 10.…
44 // using a deprecated method when that method is re-implemented in a
45 // subclass where the redeclared method is not deprecated.
47 …ailability(macosx,introduced=10_1,deprecated=10_2))); // expected-note {{'method' has been explici…
60 [super method]; // expected-warning {{'method' is deprecated: first deprecated in macOS 10.2}}
[all …]
H A Dproperty-noninherited-availability-attr.m3 // This test case shows that 'availability' and 'deprecated' do not inherit
8 …lity(macosx,introduced=10.7,deprecated=10.8))); // expected-note {{'myProtocolProperty' has been e…
9 … // expected-note {{property 'myProtocolProperty' is declared deprecated here}}
13 …bility(macosx,introduced=10.7,deprecated=10.8))); // expected-note 2 {{'myProperty' has been expl…
14 // expected-note {{property 'myProperty' is declared deprecated here}}
23 …y.myProperty = 0; // expected-warning {{'myProperty' is deprecated: first deprecated in macOS 10.8…
24 …(void)[y myProperty]; // expected-warning {{'myProperty' is deprecated: first deprecated in macO…
32 …tocolProperty]; // expected-warning {{'myProtocolProperty' is deprecated: first deprecated in macO…
H A Dprotocol-attribute.m9 __attribute ((deprecated)) @protocol MyProto1 // expected-note 7 {{'MyProto1' has been explicitly m… category
12 @protocol Proto2 <MyProto1> // expected-warning {{'MyProto1' is deprecated}}
17 @interface MyClass1 <MyProto1> // expected-warning {{'MyProto1' is deprecated}}
23 @interface Derived : MyClass1 <MyProto1> // expected-warning {{'MyProto1' is deprecated}}
25 id <MyProto1> ivar; // expected-warning {{'MyProto1' is deprecated}}
29 @interface MyClass1 (Category) <MyProto1, Proto2> // expected-warning {{'MyProto1' is deprecated}}
34 Class <MyProto1> clsP1 = 0; // expected-warning {{'MyProto1' is deprecated}}
41 __attribute ((unavailable)) __attribute ((deprecated)) @protocol XProto; // expected-note{{marked u…
47 MyClass1 <MyProto1> *p1; // expected-warning {{'MyProto1' is deprecated}}
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-deprecated.c57 foo_dep *test4 __attribute__((deprecated));
58 struct bar_dep *test5 __attribute__((deprecated));
74 foo_dep *test9(void) __attribute__((deprecated));
84 void test10(void) __attribute__((deprecated));
92 char test11[sizeof(foo_dep)] __attribute__((deprecated));
95 int test13(foo_dep *foo) __attribute__((deprecated));
99 unsigned long test16 __attribute__((deprecated))
103 test18 __attribute__((deprecated)),
120 foo_dep a __attribute((deprecated));
123 __attribute((deprecated)) foo_dep e, f;
[all …]
H A Dattr-availability-watchos.c4 void f0(int) __attribute__((availability(ios,introduced=2.0,deprecated=2.1))); // expected-note {{'…
6 void f2(int) __attribute__((availability(ios,introduced=2.0,deprecated=3.0))); // expected-note {{'…
8 …_((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(ios,introduce…
10 void f6(int) __attribute__((availability(ios,deprecated=12.1))); // OK - not deprecated for watchOS
11 void f7(int) __attribute__((availability(ios,deprecated=8.3))); // expected-note {{'f7' has been ex…
31 …(availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(watchos,introdu…
32 …ribute__((availability(watchos,introduced=2.0))) __attribute__((availability(ios,deprecated=3.0)));
33 void f5_attr_reversed_watchos(int) __attribute__((availability(ios, deprecated=3.0))) __attribute__…
57 void deprecatedAfterIntroduced(void) __attribute__((availability(ios,introduced=9.3,deprecated=10))…
65 void f9(int) __attribute__((availability(ios,deprecated=10.3.1))); // expected-note {{'f9' has been…
[all …]
H A Dattr-availability.c7 void f2(void) __attribute__((availability(ios,introduced=2.1,deprecated=2.1)));
64 void f4(int) __attribute__((availability(ios,deprecated=3.0)));
103 } __attribute__((availability(macosx, deprecated=10.2)));
111 UserODDeprecated __attribute__((availability(macosx, deprecated=10.2))) = OriginalDeprecated,
119 UserADDeprecated __attribute__((availability(macosx, deprecated=10.2))) = AllDeprecatedCase,
133 …UserDeprecatedODDeprecated __attribute__((availability(macosx, deprecated=10.2))) = OriginalDeprec…
141 …UserDeprecatedADDeprecated __attribute__((availability(macosx, deprecated=10.2))) = AllDeprecatedC…
151 } __attribute__((availability(macosx, deprecated=10.2)));
155 …UserUnavailableODDeprecated __attribute__((availability(macosx, deprecated=10.2))) = OriginalDepre…
163 …UserUnavailableADDeprecated __attribute__((availability(macosx, deprecated=10.2))) = AllDeprecated…
[all …]
H A Dattr-availability-tvos.c4 void f0(int) __attribute__((availability(tvos,introduced=12.0,deprecated=12.1))); // expected-note …
6 void f2(int) __attribute__((availability(tvos,introduced=12.0,deprecated=13.0))); // expected-note …
8 …((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(tvos,introduce…
11 void f6(int) __attribute__((availability(tvos,deprecated=13.0))); // expected-note {{'f6' has been …
25 void f9(int) __attribute__((availability(ios,introduced=12.0,deprecated=19.0)));
40 …((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(tvos,introduce…
41 …tribute__((availability(tvos,introduced=12.0))) __attribute__((availability(ios,deprecated=13.0)));
42 void f5_attr_reversed_tvos(int) __attribute__((availability(ios, deprecated=13.0))) __attribute__((…
45 void f6_tvos(int) __attribute__((availability(tvos,deprecated=13.0))); // expected-note {{'f6_tvos'…
68 void f11(int) __attribute__((availability(ios,deprecated=9.3))); // expected-note {{'f11' has been …
[all …]
H A Dattr-deprecated-c2x.c3 [[deprecated]] int f(void); // expected-note 2 {{'f' has been explicitly marked deprecated here}}
4 [[deprecated]] void g(void);// expected-note {{'g' has been explicitly marked deprecated here}}
7 extern int var [[deprecated]]; // expected-note 2 {{'var' has been explicitly marked deprecated her…
25 [[deprecated]] int old_fn(void);// expected-note {{'old_fn' has been explicitly marked deprecated h…
34 int x [[deprecated]]; // expected-note 3 {{'x' has been explicitly marked deprecated here}}
43 typedef struct foo foo_dep [[deprecated]]; // expected-note {{'foo_dep' has been explicitly marked …
46 struct [[deprecated, // expected-note {{'bar_dep' has been explicitly marked deprecated here}}
51 [[deprecated("this is the message")]] int i; // expected-note {{'i' has been explicitly marked depr…
58 [[deprecated("message", "replacement not supported")]] void test5(void); // expected-error {{'depre…
H A Dattr-availability-android.c4 void f0(int) __attribute__((availability(android,introduced=14,deprecated=19)));
6 void f2(int) __attribute__((availability(android,introduced=14,deprecated=16))); // expected-note {…
11 …ute__((availability(android,introduced=9,deprecated=11,obsoleted=16), availability(ios,introduced=…
29 foo __attribute__((availability(android,introduced=8.0,deprecated=9.0)))
33 bar __attribute__((availability(android,introduced=8.0,deprecated=9.0))) = foo
36 enum __attribute__((availability(android,introduced=8.0,deprecated=9.0))) {
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dattr-deprecated.cpp3 …void f() __attribute__((deprecated)); // expected-note 2 {{'f' has been explicitly marked deprecat…
5 void h(A* a) __attribute__((deprecated));
7 …int b __attribute__((deprecated)); // expected-note 2 {{'b' has been explicitly marked deprecated …
29 …virtual void f() __attribute__((deprecated)); // expected-note 6 {{'f' has been explicitly marked …
59 …virtual void f() __attribute__((deprecated));// expected-note{{'f' has been explicitly marked depr…
77 …void foo(int) __attribute__((deprecated)); // expected-note {{'foo' has been explicitly marked dep…
202 …enum __attribute__((deprecated)) A { // expected-note 2 {{'A' has been explicitly marked deprecate…
211 …b0 __attribute__((deprecated)), // expected-note {{'b0' has been explicitly marked deprecated here…
233 …d1 __attribute__((deprecated)), // expected-note {{'d1' has been explicitly marked deprecated here…
256 } TDS __attribute__((deprecated)); // expected-note {{'TDS' has been explicitly marked deprecated h…
[all …]
H A Dattr-deprecated-replacement-error.cpp7 int a1 [[deprecated("warning", "fixit")]]; // expected-error{{'deprecated' attribute takes no more …
8 int a2 [[deprecated("warning", 1)]]; // expected-error{{'deprecated' attribute takes no more than 1…
10 int b1 [[gnu::deprecated("warning", "fixit")]]; // expected-error{{'deprecated' attribute takes no …
11 int b2 [[gnu::deprecated("warning", 1)]]; // expected-error{{'deprecated' attribute takes no more t…
13 __declspec(deprecated("warning", "fixit")) int c1; // expected-error{{'deprecated' attribute takes …
14 __declspec(deprecated("warning", 1)) int c2; // expected-error{{'deprecated' attribute takes no mor…
16 int d1 __attribute__((deprecated("warning", "fixit")));
17 int d2 __attribute__((deprecated("warning", 1))); // expected-error{{'deprecated' attribute require…
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Ddeprecated-v8.s8 @ CHECK-ARMV8: warning: deprecated
9 @ CHECK-THUMBV8: warning: deprecated
10 @ CHECK-ARMV7-NOT: warning: deprecated
11 @ CHECK-THUMBV7-NOT: warning: deprecated
12 @ CHECK-NO-WARN-NOT: warning: deprecated
14 @ CHECK-ARMV8: warning: deprecated since v7, use 'isb'
16 @ CHECK-ARMV7: warning: deprecated since v7, use 'isb'
21 @ CHECK-ARMV8: warning: deprecated since v7, use 'dsb'
23 @ CHECK-ARMV7: warning: deprecated since v7, use 'dsb'
28 @ CHECK-ARMV8: warning: deprecated since v7, use 'dmb'
[all …]
H A Darm-load-store-multiple-deprecated.s19 @ CHECK: warning: use of PC in the list is deprecated
24 @ CHECK: warning: use of PC in the list is deprecated
28 @ CHECK: warning: use of PC in the list is deprecated
32 @ CHECK: warning: use of PC in the list is deprecated
40 @ CHECK: warning: use of PC in the list is deprecated
44 @ CHECK: warning: use of PC in the list is deprecated
48 @ CHECK: warning: use of PC in the list is deprecated
52 @ CHECK: warning: use of PC in the list is deprecated
60 @ CHECK: warning: use of PC in the list is deprecated
64 @ CHECK: warning: use of PC in the list is deprecated
[all …]
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.deprecated/
H A Dp1.cpp3 class [[deprecated]] C {}; // expected-note {{'C' has been explicitly marked deprecated here}}
6 typedef int t [[deprecated]]; // expected-note {{'t' has been explicitly marked deprecated here}}
9 [[deprecated]] int old = 42; // expected-note {{'old' has been explicitly marked deprecated here}}
12 struct S { [[deprecated]] int member = 42; } s; // expected-note {{'member' has been explicitly mar…
15 [[deprecated]] int f() { return 42; } // expected-note {{'f' has been explicitly marked deprecated … in f()
18 enum [[deprecated]] e { E }; // expected-note {{'e' has been explicitly marked deprecated here}}
22 template <> class [[deprecated]] X<int> {}; // expected-note {{'X<int>' has been explicitly marked …
26 template <typename T> class [[deprecated]] X2 {}; //expected-note {{'X2<char>' has been explicitly …
31 template <typename T> class [[deprecated]] X3; //expected-note {{'X3<char>' has been explicitly mar…
50 …struct [[deprecated]] FunS{}; // expected-note {{'FunS' has been explicitly marked deprecated here… in some_func()
[all …]
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-c-attr.c14 int Test1 [[deprecated]];
18 enum [[deprecated("Frobble")]] Test2 {
19 Test3 [[deprecated]]
26 struct [[deprecated]] Test4 {
27 [[deprecated("Frobble")]] int Test5, Test6;
28 int Test7 [[deprecated]] : 12;
42 struct [[deprecated]] Test8;
46 [[deprecated]] void Test9(int Test10 [[deprecated]]);
52 void Test11 [[deprecated]](void);
H A Dast-print-objectivec.m6 - (void)MethP __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))); argument
10 - (void)MethI __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))); argument
14 - (void)MethCAT __attribute__((availability(macosx,introduced=10_1_0,deprecated=10_2)));
18 - (void)MethP __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))) {} argument
19 - (void)MethI __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))) {} argument
25 // CHECK: - (void)MethP __attribute__((availability(macos, introduced=10.1.0, deprecated=10.2)));
29 // CHECK: - (void)MethI __attribute__((availability(macos, introduced=10.1.0, deprecated=10.2)));
33 // CHECK: - (void)MethCAT __attribute__((availability(macos, introduced=10.1.0, deprecated=10.2)));
37 // CHECK: - (void)MethP __attribute__((availability(macos, introduced=10.1.0, deprecated=10.2))) {
40 // CHECK: - (void)MethI __attribute__((availability(macos, introduced=10.1.0, deprecated=10.2))) {
/llvm-project-15.0.7/clang/test/Index/
H A Davailability.c3 …_((availability(macosx,introduced=10.4,deprecated=10.5,obsoleted=10.7), availability(ios,introduce…
7 } __attribute__((deprecated));
11 } __attribute__((availability(macosx,introduced=10.4,deprecated=10.5,obsoleted=10.7)));
13 …(availability(ios,introduced=3.2))) __attribute__((availability(macosx,deprecated=10.5,message="us…
15deprecated=10.5,obsoleted=10.7))) __attribute__((availability(ios,introduced=3.2,deprecated=10.0))…
18 void foo3(void) __attribute__((availability(swift,deprecated)));
/llvm-project-15.0.7/clang/test/Lexer/
H A Ddeprecate-macro.c4 #pragma clang deprecated
7 #pragma clang deprecated(4
10 #pragma clang deprecated(foo)
14 #pragma clang deprecated(bar, "bar is deprecated use 1")
29 #pragma clang deprecated(foo)
32 #pragma clang deprecated(foo
52 #pragma clang deprecated(main) in main()
59 #pragma clang deprecated(frobble)
/llvm-project-15.0.7/clang/test/FixIt/
H A Dnullability.mm12 …*array[2]; // expected-warning {{inferring '_Nonnull' for pointer type within array is deprecated}}
15 …array2[2]; // expected-warning {{inferring '_Nonnull' for pointer type within array is deprecated}}
18 …ray[2][3]; // expected-warning {{inferring '_Nonnull' for pointer type within array is deprecated}}
25 … array[2]; // expected-warning {{inferring '_Nonnull' for pointer type within array is deprecated}}
34 …*&ref; // expected-warning {{inferring '_Nonnull' for pointer type within reference is deprecated}}
37 …&ref2; // expected-warning {{inferring '_Nonnull' for pointer type within reference is deprecated}}
40 …&ref3; // expected-warning {{inferring '_Nonnull' for pointer type within reference is deprecated}}
43 …&ref4; // expected-warning {{inferring '_Nonnull' for pointer type within reference is deprecated}}
46 …ayRef)[2]; // expected-warning {{inferring '_Nonnull' for pointer type within array is deprecated}}
49 …yRef2)[2]; // expected-warning {{inferring '_Nonnull' for pointer type within array is deprecated}}
[all …]

12345678910>>...16