/external/clang/test/Sema/ |
attr-deprecated.c | 3 int f() __attribute__((deprecated)); 4 void g() __attribute__((deprecated)); 7 extern int var __attribute__((deprecated)); 10 int (*ptr)() = f; // expected-warning {{'f' is deprecated}} 11 f(); // expected-warning {{'f' is deprecated}} 14 g(); // expected-warning {{'g' is deprecated}} 16 return var; // expected-warning {{'var' is deprecated}} 22 return var; // expected-warning {{'var' is deprecated}} 25 int old_fn() __attribute__ ((deprecated)); 27 int (*fn_ptr)() = old_fn; // expected-warning {{'old_fn' is deprecated}} [all...] |
typeof-use-deprecated.c | 3 struct s { int a; } __attribute__((deprecated)) x; // expected-warning {{'s' is deprecated}} 5 typeof(x) y; // expected-warning {{'s' is deprecated}} 7 union un{ int a; } __attribute__((deprecated)) u; // expected-warning {{'un' is deprecated}} 9 typeof( u) z; // expected-warning {{'un' is deprecated}} 11 enum E{ one} __attribute__((deprecated)) e; // expected-warning {{'E' is deprecated}} 13 typeof( e) w; // expected-warning {{'E' is deprecated}} 15 struct foo { int x; } __attribute__((deprecated)); [all...] |
attr-deprecated-message.c | 4 typedef int INT1 __attribute__((deprecated("Please avoid INT1"))); 8 typedef INT1 INT1a; // expected-warning {{'INT1' is deprecated: Please avoid INT1}} 10 typedef INT1 INT1b __attribute__ ((deprecated("Please avoid INT1b"))); 12 INT1 should_be_unavailable; // expected-warning {{'INT1' is deprecated: Please avoid INT1}} 15 INT1 f1(void) __attribute__ ((deprecated("Please avoid f1"))); 16 INT1 f2(void); // expected-warning {{'INT1' is deprecated: Please avoid INT1}} 18 typedef enum {red, green, blue} Color __attribute__((deprecated("Please avoid Color"))); 21 Color c1; // expected-warning {{'Color' is deprecated: Please avoid Color}} 24 int g2 __attribute__ ((deprecated("Please avoid g2"))); 28 int (*pf)() = f1; // expected-warning {{'f1' is deprecated: Please avoid f1} [all...] |
attr-availability-ios.c | 3 void f0(int) __attribute__((availability(ios,introduced=2.0,deprecated=2.1))); 5 void f2(int) __attribute__((availability(ios,introduced=2.0,deprecated=3.0))); 7 void f4(int) __attribute__((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(ios,introduced=2.0,deprecated=2.1,obsoleted=3.0))); // expected-note{{explicitly marked unavailable}} 9 void f5(int) __attribute__((availability(ios,introduced=2.0))) __attribute__((availability(ios,deprecated=3.0))); 10 void f6(int) __attribute__((availability(ios,deprecated=3.0))); 14 f0(0); // expected-warning{{'f0' is deprecated: first deprecated in iOS 2.1}} 16 f2(0); // expected-warning{{'f2' is deprecated: first deprecated in iOS 3.0} [all...] |
/external/clang/test/SemaObjC/ |
attr-deprecated.m | 4 int X __attribute__((deprecated)); 6 + (void)F __attribute__((deprecated)); 7 - (void)f __attribute__((deprecated)); 11 + (void)F __attribute__((deprecated)) 13 [self F]; // no warning, since the caller is also deprecated. 18 X++; // expected-warning{{'X' is deprecated}} 19 self->X++; // expected-warning{{'X' is deprecated}} 20 [self f]; // expected-warning{{'f' is deprecated}} 25 [self f]; // no warning, the caller is deprecated in its interface. 35 [super F]; // expected-warning{{'F' is deprecated}} [all...] |
/external/llvm/test/ |
TestRunner.sh | 2 # Deprecated, use 'llvm-lit'. 4 echo "warning: '$0' is deprecated, use 'llvm-lit' instead."
|
/external/clang/test/Parser/ |
prefix-attributes.m | 3 __attribute__((deprecated)) @class B; // expected-error {{prefix attribute must be followed by an interface or protocol}} 5 __attribute__((deprecated)) @interface A @end 6 __attribute__((deprecated)) @protocol P0; 7 __attribute__((deprecated)) @protocol P1
|
/external/doclava/test/api/ |
add-class.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 27 deprecated="not deprecated" 40 deprecated="not deprecated" 50 deprecated="not deprecated" [all...] |
api.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 27 deprecated="not deprecated" 38 deprecated="not deprecated" 48 deprecated="not deprecated" [all...] |
added-exception.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 29 deprecated="not deprecated" 40 deprecated="not deprecated" 50 deprecated="not deprecated" [all...] |
added-field.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 27 deprecated="not deprecated" 38 deprecated="not deprecated" 48 deprecated="not deprecated" [all...] |
removed-exception.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 27 deprecated="not deprecated" 38 deprecated="not deprecated" 48 deprecated="not deprecated" [all...] |
throws.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 27 deprecated="not deprecated" 38 deprecated="not deprecated" 48 deprecated="not deprecated" [all...] |
added-package.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 27 deprecated="not deprecated" 38 deprecated="not deprecated" 48 deprecated="not deprecated" [all...] |
/frameworks/base/api/ |
13.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 26 deprecated="not deprecated" 33 deprecated="not deprecated" 44 deprecated="not deprecated" [all...] |
12.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 26 deprecated="not deprecated" 33 deprecated="not deprecated" 44 deprecated="not deprecated" [all...] |
11.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 26 deprecated="not deprecated" 33 deprecated="not deprecated" 44 deprecated="not deprecated" [all...] |
10.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 26 deprecated="not deprecated" 33 deprecated="not deprecated" 44 deprecated="not deprecated" [all...] |
9.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 26 deprecated="not deprecated" 33 deprecated="not deprecated" 44 deprecated="not deprecated" [all...] |
8.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 26 deprecated="not deprecated" 33 deprecated="not deprecated" 44 deprecated="not deprecated" [all...] |
4.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 26 deprecated="not deprecated" 33 deprecated="not deprecated" 44 deprecated="not deprecated" [all...] |
5.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 26 deprecated="not deprecated" 33 deprecated="not deprecated" 44 deprecated="not deprecated" [all...] |
6.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 26 deprecated="not deprecated" 33 deprecated="not deprecated" 44 deprecated="not deprecated" [all...] |
7.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 26 deprecated="not deprecated" 33 deprecated="not deprecated" 44 deprecated="not deprecated" [all...] |
3.xml | 9 deprecated="not deprecated" 16 deprecated="not deprecated" 26 deprecated="not deprecated" 33 deprecated="not deprecated" 44 deprecated="not deprecated" [all...] |