Lines Matching full:deprecated
3 …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 …
12 f(); // expected-warning{{'f' is deprecated}} in g()
13 a->f(); // expected-warning{{'f' is deprecated}} in g()
15 (void)b; // expected-warning{{'b' is deprecated}} in g()
16 (void)a->b; // expected-warning{{'b' is deprecated}} in g()
29 …virtual void f() __attribute__((deprecated)); // expected-note 6 {{'f' has been explicitly marked …
34 f(); // expected-warning{{'f' is deprecated}} in g()
35 B::f(); // expected-warning{{'f' is deprecated}} in g()
46 B::f(); // expected-warning{{'f' is deprecated}} in g()
50 b->f(); // expected-warning{{'f' is deprecated}} in f()
51 b->B::f(); // expected-warning{{'f' is deprecated}} in f()
55 c->B::f(); // expected-warning{{'f' is deprecated}} in f()
59 virtual void f() __attribute__((deprecated));
60 virtual void f(int) __attribute__((deprecated));
61 virtual void f(int, int) __attribute__((deprecated));
64 void D::f() { } // expected-note{{'f' has been explicitly marked deprecated here}} in f()
65 void D::f(int v) { } // expected-note{{'f' has been explicitly marked deprecated here}} in f()
66 void D::f(int v1, int v2) { } // expected-note{{'f' has been explicitly marked deprecated here}} in f()
69 d->f(); // expected-warning{{'f' is deprecated}} in f()
70 d->f(42); // expected-warning{{'f' is deprecated}} in f()
71 d->f(42, 24); // expected-warning{{'f' is deprecated}} in f()
77 …void foo(int) __attribute__((deprecated)); // expected-note {{'foo' has been explicitly marked dep…
78 void test1() { foo(10); } // expected-warning {{deprecated}} in test1()
79 …void foo(short) __attribute__((deprecated)); // expected-note {{'foo' has been explicitly marked d…
80 void test2(short s) { foo(s); } // expected-warning {{deprecated}} in test2()
84 …friend void foo(A*) __attribute__((deprecated)); // expected-note {{'foo' has been explicitly mark…
86 void test4(A *a) { foo(a); } // expected-warning {{deprecated}} in test4()
90 …void foo(const Foo &f) __attribute__((deprecated)); // expected-note {{'foo' has been explicitly m…
93 foo(ns::Foo()); // expected-warning {{deprecated}} in test5()
100 …void foo(int) __attribute__((deprecated)); // expected-note 2 {{'foo' has been explicitly marked d…
102 …static void bar(int) __attribute__((deprecated)); // expected-note 3 {{'bar' has been explicitly m…
109 a.foo(i); // expected-warning {{deprecated}} in test1()
111 a.bar(i); // expected-warning {{deprecated}} in test1()
113 A::bar(i); // expected-warning {{deprecated}} in test1()
118 foo(i); // expected-warning {{deprecated}} in test2()
120 bar(i); // expected-warning {{deprecated}} in test2()
129 …void operator*(int) __attribute__((deprecated)); // expected-note {{'operator*' has been explicitl…
133 …or+(const A &, int) __attribute__((deprecated)); // expected-note {{'operator+' has been explicitl…
134 …or-(const A &, int) __attribute__((deprecated)); // expected-note {{'operator-' has been explicitl…
139 a + 1; // expected-warning {{deprecated}} in test()
141 a - 1; // expected-warning {{deprecated}} in test()
143 a * 1; // expected-warning {{deprecated}} in test()
152 …rator intfn() __attribute__((deprecated)); // expected-note {{'operator void (*)(int)' has been ex…
154 …id operator ()(A &) __attribute__((deprecated)); // expected-note {{'operator()' has been explicit…
160 a(1); // expected-warning {{deprecated}} in test()
165 a(b); // expected-warning {{deprecated}} in test()
172 …operator int() __attribute__((deprecated)); // expected-note 3 {{'operator int' has been explicitl…
176 int i = a; // expected-warning {{deprecated}} in test1()
185 foo(a); // expected-warning {{deprecated}} in test2()
194 myInt(a), // expected-warning {{deprecated}} in B()
202 …enum __attribute__((deprecated)) A { // expected-note {{'A' has been explicitly marked deprecated …
203 a0 // expected-note {{'a0' has been explicitly marked deprecated here}}
206 A x; // expected-warning {{'A' is deprecated}} in testA()
207 x = a0; // expected-warning {{'a0' is deprecated}} in testA()
211 …b0 __attribute__((deprecated)), // expected-note {{'b0' has been explicitly marked deprecated here…
216 x = b0; // expected-warning {{'b0' is deprecated}} in testB()
221 …enum __attribute__((deprecated)) Enum { // expected-note {{'Enum' has been explicitly marked depre…
222 c0 // expected-note {{'c0' has been explicitly marked deprecated here}}
226 C<int>::Enum x; // expected-warning {{'Enum' is deprecated}} in testC()
227 x = C<int>::c0; // expected-warning {{'c0' is deprecated}} in testC()
233 …d1 __attribute__((deprecated)), // expected-note {{'d1' has been explicitly marked deprecated here…
239 x = D<int>::d1; // expected-warning {{'d1' is deprecated}} in testD()
245 …of(sizeof(void*))) __attribute__((deprecated)); // expected-note{{'operator new' has been explici…
246 …r delete(void *) __attribute__((deprecated)); // expected-note{{'operator delete' has been explic…
250 …w X; // expected-warning{{'operator new' is deprecated}} expected-warning{{'operator delete' is d… in test()
256 } TDS __attribute__((deprecated)); // expected-note {{'TDS' has been explicitly marked deprecated h…
257 TDS tds; // expected-warning {{'TDS' is deprecated}}