Searched refs:deprecated (Results 1 - 25 of 105) sorted by relevance

12345

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dgen-attrs-45.C4 [[gnu::deprecated]]; // { dg-error "does not declare anything" }
H A Dgen-attrs-44.C3 [[gnu::deprecated]] enum E { E0 }; // { dg-warning "ignored in declaration" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Dattrib44.C3 __attribute__ ((deprecated)) enum E { E0 }; // { dg-warning "attribute ignored in declaration of" "ignored" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp1y/
H A Dattr-deprecated-neg.C4 class [[deprecated]] A // { dg-warning "'deprecated' is a C..14 feature" }
8 [[deprecated]] // { dg-warning "'deprecated' is a C..14 feature" }
15 class [[deprecated("B has been superceded by C")]] B // { dg-warning "'deprecated' is a C..14 feature" }
19 [[deprecated("bar is unsafe; use foobar instead")]] // { dg-warning "'deprecated' is a C..14 feature" }
29 class [[deprecated]] C;
32 [[deprecated]]
[all...]
H A Dattr-deprecated.C3 class [[deprecated]] A
7 [[deprecated]]
14 class [[deprecated("B has been superceded by C")]] B
18 [[deprecated("bar is unsafe; use foobar instead")]]
28 class [[deprecated]] C;
31 [[deprecated]]
50 A aaa; // { dg-warning "is deprecated" }
51 int n = foo(12); // { dg-warning "is deprecated" }
53 B bbb; // { dg-warning "is deprecated" "B has been superceded by C" }
54 int m = bar(666); // { dg-warning "is deprecated" "ba
[all...]
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/attributes/
H A Dinvalid-attribute-1.mm6 __attribute__ ((deprecated)) @class A; /* { dg-error "attributes may not be specified before the ..class. Objective-C.. keyword" } */
H A Dmethod-attribute-1.mm11 + (id) dep_cls_mth __attribute__((deprecated)) ;
12 - (int) dep_ins_mth __attribute__((deprecated)) ;
13 - (int) dep_ins_mtharg: (int) i __attribute__((deprecated)) ;
14 - (int) dep_ins_mtharg1: (int) i __attribute__((deprecated)) add: (int) j;/* { dg-error "method attributes must be specified at the end " } */
15 - (int) nodef __attribute__((deprecated)) { return var-2; } ; /* { dg-error "expected ';' before '\{' token" } */
16 __attribute__((deprecated))
33 id n = [obj dep_cls_mth]; /* { dg-warning "is deprecated" } */
35 [p dep_ins_mth]; /* { dg-warning "is deprecated" } */
36 [p dep_ins_mtharg:2]; /* { dg-warning "is deprecated" } */
/haiku-buildtools/gcc/gcc/testsuite/objc.dg/attributes/
H A Dinvalid-attribute-1.m6 __attribute__ ((deprecated)) @class A; /* { dg-error "unexpected attribute before .class." } */
H A Dmethod-attribute-1.m11 + (id) dep_cls_mth __attribute__((deprecated)) ;
12 - (int) dep_ins_mth __attribute__((deprecated)) ;
13 - (int) dep_ins_mtharg: (int) i __attribute__((deprecated)) ;
14 - (int) dep_ins_mtharg1: (int) i __attribute__((deprecated)) add: (int) j;/* { dg-error "expected ';' or '\{' after method attribute definition" } */
15 - (int) nodef __attribute__((deprecated)) { return var-2; } ; /* { dg-error "expected ';' before '\{' token" } */
16 __attribute__((deprecated))
33 id n = [obj dep_cls_mth]; /* { dg-warning "is deprecated" } */
35 [p dep_ins_mth]; /* { dg-warning "is deprecated" } */
36 [p dep_ins_mtharg:2]; /* { dg-warning "is deprecated" } */
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/warn/
H A Ddeprecated-2.C1 /* Test __attribute__((deprecated)). Test merging with multiple
7 void func(void) __attribute__((deprecated));
10 func(); /* { dg-warning "'void func\\(\\)' is deprecated" } */
H A Ddeprecated-4.C4 virtual int foo() __attribute__((deprecated));
8 ((B*)0)->foo(); // { dg-warning "deprecated" }
H A Ddeprecated-5.C3 struct Foo { int i; } __attribute__ ((deprecated));
4 void foo() { Foo f; } // { dg-warning "deprecated" }
H A Ddeprecated-3.C1 /* PR 17947 bad warning with implicit conversion and __attribute__((deprecated)) */
7 operator int() __attribute__((deprecated));
13 (int)f; // { dg-warning "'Foo::operator int\\(\\)' is deprecated" }
H A Ddeprecated-7.C4 int& g_n __attribute__((deprecated)) = g_nn;
9 int& f_n __attribute__((deprecated)) = f_nn;
10 f_n = 1; // { dg-warning "'f_n' is deprecated" }
15 g_n = 1; // { dg-warning "'g_n' is deprecated" }
H A Ddeprecated-9.C7 __attribute__((deprecated("use bar() instead.")))
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Ddeprecated-2.c1 /* Test __attribute__((deprecated)). Test types without names. */
6 struct { int a; } __attribute__((deprecated)) x; /* { dg-warning "type is deprecated" } */
7 typeof(x) y; /* { dg-warning "type is deprecated" } */
H A Ddeprecated-3.c1 /* Test __attribute__((deprecated)). Test merging with multiple
7 void func(void) __attribute__((deprecated));
10 func(); /* { dg-warning "'func' is deprecated" } */
H A Ddeprecated-5.c1 /* Test __attribute__((deprecated)). Test types without names. */
6 struct { int a; } __attribute__((deprecated ("Do not use"))) x; /* { dg-warning "type is deprecated" } */
7 typeof(x) y; /* { dg-warning "type is deprecated: Do not use" } */
H A Ddeprecated-6.c1 /* Test __attribute__((deprecated)). Test merging with multiple
7 void func(void) __attribute__((deprecated ("Do not use")));
10 func(); /* { dg-warning "'func' is deprecated: Do not use" } */
/haiku-buildtools/binutils/gas/testsuite/gas/aarch64/
H A Ddeprecated.d2 #source: deprecated.s
3 #error-output: deprecated.l
/haiku-buildtools/binutils/gas/testsuite/gas/arm/
H A Dvstr-arm-bad.l2 [^:]*:6: Use of PC here is deprecated
3 [^:]*:7: Use of PC here is deprecated
H A Darmv1.l2 [^:]*:26: s suffix on comparison instruction is deprecated
3 [^:]*:29: s suffix on comparison instruction is deprecated
4 [^:]*:32: s suffix on comparison instruction is deprecated
5 [^:]*:35: s suffix on comparison instruction is deprecated
H A Dthumb32.l2 [^;]*:450: s suffix on comparison instruction is deprecated
3 [^;]*:450: s suffix on comparison instruction is deprecated
4 [^;]*:450: s suffix on comparison instruction is deprecated
5 [^;]*:450: s suffix on comparison instruction is deprecated
6 [^;]*:451: s suffix on comparison instruction is deprecated
7 [^;]*:451: s suffix on comparison instruction is deprecated
8 [^;]*:451: s suffix on comparison instruction is deprecated
9 [^;]*:451: s suffix on comparison instruction is deprecated
10 [^;]*:452: s suffix on comparison instruction is deprecated
11 [^;]*:452: s suffix on comparison instruction is deprecated
[all...]
H A Dldsgeb.l2 .*: conditional infixes are deprecated in unified syntax
H A Dldsgeh.l2 .*: conditional infixes are deprecated in unified syntax

Completed in 184 milliseconds

12345