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

123

/external/clang/test/SemaCXX/
H A Dwarn-deprecated-header.cpp4 // expected-warning@+2 {{This file is deprecated.}}
6 #warning This file is deprecated.
H A Dattr-deprecated.cpp3 void f() __attribute__((deprecated)); // expected-note 2 {{declared here}}
5 void h(A* a) __attribute__((deprecated));
7 int b __attribute__((deprecated)); // expected-note 2 {{declared here}}
12 f(); // expected-warning{{'f' is deprecated}}
13 a->f(); // expected-warning{{'f' is deprecated}}
15 (void)b; // expected-warning{{'b' is deprecated}}
16 (void)a->b; // expected-warning{{'b' is deprecated}}
29 virtual void f() __attribute__((deprecated)); // expected-note 4 {{declared here}}
35 B::f(); // expected-warning{{'f' is deprecated}}
46 B::f(); // expected-warning{{'f' is deprecated}}
[all...]
/external/libxml2/
H A DDOCBparser.c4 * This is deprecated !!!
43 static int deprecated = 0; local
45 if (!deprecated) {
47 "docbEncodeEntities() deprecated function reached\n");
48 deprecated = 1;
67 static int deprecated = 0; local
69 if (!deprecated) {
71 "docbParseDocument() deprecated function reached\n");
72 deprecated = 1;
88 static int deprecated local
115 static int deprecated = 0; local
150 static int deprecated = 0; local
181 static int deprecated = 0; local
207 static int deprecated = 0; local
234 static int deprecated = 0; local
266 static int deprecated = 0; local
293 static int deprecated = 0; local
[all...]
H A Dlegacy.c2 * legacy.c: set of deprecated routines, not to be used anymore but
55 static int deprecated = 0; local
57 if (!deprecated) {
59 "htmlDecodeEntities() deprecated function reached\n");
60 deprecated = 1;
397 * This function is deprecated, we now always process entities content
416 static int deprecated = 0; local
418 if (!deprecated) {
420 "xmlDecodeEntities() deprecated function reached\n");
421 deprecated
446 static int deprecated = 0; local
481 static int deprecated = 0; local
510 static int deprecated = 0; local
533 static int deprecated = 0; local
561 static int deprecated = 0; local
593 static int deprecated = 0; local
633 static int deprecated = 0; local
659 static int deprecated = 0; local
683 static int deprecated = 0; local
703 static int deprecated = 0; local
[all...]
/external/clang/test/Sema/
H A Dattr-deprecated.c3 int f() __attribute__((deprecated)); // expected-note 2 {{declared here}}
4 void g() __attribute__((deprecated));
7 extern int var __attribute__((deprecated)); // expected-note {{declared here}}
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...]
H A Dsurpress-deprecated.c1 // RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s
2 extern void OldFunction() __attribute__((deprecated));
H A Dweak-import-on-enum.c5 enum __attribute__((deprecated)) __attribute__((weak_import)) A {
H A Dtypeof-use-deprecated.c3 struct s { int a; } __attribute__((deprecated)) x; // expected-warning {{'s' is deprecated}} expected-note 2 {{'s' declared here}}
5 typeof(x) y; // expected-warning {{'s' is deprecated}}
7 union un{ int a; } __attribute__((deprecated)) u; // expected-warning {{'un' is deprecated}} expected-note 2 {{'un' declared here}}
9 typeof( u) z; // expected-warning {{'un' is deprecated}}
11 enum E{ one} __attribute__((deprecated)) e; // expected-warning {{'E' is deprecated}} expected-note 2 {{'E' declared here}}
13 typeof( e) w; // expected-warning {{'E' is deprecated}}
15 struct foo { int x; } __attribute__((deprecated)); // expecte
[all...]
H A Dattr-deprecated-message.c4 typedef int INT1 __attribute__((deprecated("Please avoid INT1"))); // expected-note 3 {{'INT1' declared here}}
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"))); // expected-note {{'f1' declared here}}
16 INT1 f2(void); // expected-warning {{'INT1' is deprecated: Please avoid INT1}}
18 typedef enum {red, green, blue} Color __attribute__((deprecated("Please avoid Color"))); // expected-note {{'Color' declared here}}
21 Color c1; // expected-warning {{'Color' is deprecated: Please avoid Color}}
24 int g2 __attribute__ ((deprecated("Please avoid g2"))); // expected-note {{'g2' declared here}}
28 int (*pf)() = f1; // expected-warning {{'f1' is deprecated
[all...]
H A Dattr-availability-macosx.c3 void f0(int) __attribute__((availability(macosx,introduced=10.4,deprecated=10.6)));
5 void f2(int) __attribute__((availability(macosx,introduced=10.4,deprecated=10.5))); // expected-note {{'f2' declared here}}
7 void f4(int) __attribute__((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(ios,introduced=2.0,deprecated=3.0))); // expected-note{{explicitly marked unavailable}}
13 f2(0); // expected-warning{{'f2' is deprecated: first deprecated in Mac OS X 10.5}}
22 foo __attribute__((availability(macosx,introduced=8.0,deprecated=9.0)))
26 bar __attribute__((availability(macosx,introduced=8.0,deprecated=9.0))) = foo
29 enum __attribute__((availability(macosx,introduced=8.0,deprecated=9.0))) {
H A Dattr-availability.c3 void f0() __attribute__((availability(macosx,introduced=10.4,deprecated=10.2))); // expected-warning{{feature cannot be deprecated in Mac OS X version 10.2 before it was introduced in version 10.4; attribute ignored}}
4 void f1() __attribute__((availability(ios,obsoleted=2.1,deprecated=3.0))); // expected-warning{{feature cannot be obsoleted in iOS version 2.1 before it was deprecated in version 3.0; attribute ignored}}
5 void f2() __attribute__((availability(ios,introduced=2.1,deprecated=2.1)));
11 ATSFontGetName(const char *oName) __attribute__((availability(macosx,introduced=8.0,deprecated=9.0, message="use CTFontCopyFullName"))); // expected-note {{'ATSFontGetName' declared here}}
17 ATSFontGetName("Hello"); // expected-warning {{'ATSFontGetName' is deprecated: first deprecated in Mac OS X 9.0 - use CTFontCopyFullName}}
28 void f4(int) __attribute__((availability(ios,deprecated=3.0)));
29 void f4(int) __attribute__((availability(ios,introduced=4.0))); // expected-warning {{feature cannot be deprecated i
[all...]
H A Dattr-availability-ios.c3 void f0(int) __attribute__((availability(ios,introduced=2.0,deprecated=2.1))); // expected-note {{'f0' declared here}}
5 void f2(int) __attribute__((availability(ios,introduced=2.0,deprecated=3.0))); // expected-note {{'f2' declared here}}
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))); // expected-note {{'f5' declared here}}
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 i
[all...]
H A Dattr-unavailable-message.c33 b __attribute__((deprecated())) = 2, // expected-note {{declared here}}
35 }__attribute__((deprecated()));
44 int i = a; // expected-warning {{'a' is deprecated}}
46 i = b; // expected-warning {{'b' is deprecated}}
H A DMicrosoftExtensions.c90 __declspec(deprecated("This is deprecated")) enum DE1 { one, two } e1; // expected-note {{'e1' declared here}}
91 struct __declspec(deprecated) DS1 { int i; float f; }; // expected-note {{declared here}}
93 #define MY_TEXT "This is also deprecated"
94 __declspec(deprecated(MY_TEXT)) void Dfunc1( void ) {} // expected-note {{'Dfunc1' declared here}} function
96 struct __declspec(deprecated(123)) DS2 {}; // expected-error {{argument to deprecated attribute was not a string literal}}
99 e1 = one; // expected-warning {{'e1' is deprecated: This is deprecated}}
100 struct DS1 s = { 0 }; // expected-warning {{'DS1' is deprecated}}
[all...]
/external/clang/test/Index/
H A Davailability.c3 void foo(void) __attribute__((availability(macosx,introduced=10.4,deprecated=10.5,obsoleted=10.7), availability(ios,introduced=3.2,deprecated=4.1)));
8 // CHECK-1: (ios, introduced=3.2, deprecated=4.1)
9 // CHECK-2: (macosx, introduced=10.4, deprecated=10.5, obsoleted=10.7)
H A Dcomplete-enums.c4 enum __attribute__((deprecated)) Color {
17 // CHECK-CC1: EnumConstantDecl:{ResultType enum Color}{TypedText Color_Red} (65) (deprecated)
20 // CHECK-CC2: EnumConstantDecl:{ResultType enum Color}{TypedText Color_Blue} (7) (deprecated)
21 // CHECK-CC2-NEXT: EnumConstantDecl:{ResultType enum Color}{TypedText Color_Green} (7) (deprecated)
22 // CHECK-CC2-NEXT: EnumConstantDecl:{ResultType enum Color}{TypedText Color_Red} (7) (deprecated)
H A Dcomplete-exprs.c10 struct X __attribute__((deprecated)) f1 = { 17 };
54 // CHECK-CC4: VarDecl:{ResultType struct X}{TypedText f1} (50) (deprecated)
64 // CHECK-CC7: VarDecl:{ResultType struct X}{TypedText f1} (50) (deprecated)
/external/clang/test/Parser/
H A Dattr-availability.c7 void f0() __attribute__((availability(macosx,introduced=10.2,deprecated=10.4,obsoleted=10.6)));
9 void f1() __attribute__((availability(macosx,deprecated=10.4,introduced=10.2,obsoleted=10.6)));
11 void f2() __attribute__((availability(ios,deprecated=10.4.7,introduced=10,obsoleted=10.6)));
13 void f3() __attribute__((availability(ios,deprecated=10.4.7,introduced=10,obsoleted=10.6,introduced=10.2))); // expected-error{{redundant 'introduced' availability change; only the last specified change will be used}}
26 foo __attribute__((availability(macosx,introduced=8.5,deprecated=9.0, message="Use CTFontCopyPostScriptName()", deprecated=10.0))) // expected-error {{expected ')'}} \
H A DMicrosoftExtensions.c8 __declspec(deprecated) __declspec(deprecated) char * __cdecl ltoa( long _Val, char * _DstBuf, int _Radix);
57 enum __declspec(deprecated) E2 { i, j, k }; // expected-note {{declared here}}
58 __declspec(deprecated) enum E3 { a, b, c } e; // expected-note {{declared here}}
62 // Test to make sure the deprecated warning follows the right thing
63 enum E2 e1; // expected-warning {{'E2' is deprecated}}
65 enum E3 e3 = e; // expected-warning {{'e' is deprecated}}
89 struct __declspec(align(8) deprecated) S4 {};
92 struct __declspec(deprecated frobble "testing") S5 {}; /* expected-warning {{unknown __declspec attribute 'frobble' ignored}} expected-warning {{__declspec attribute '"testing"' is not supported}} */
93 struct __declspec(unknown(12) deprecated) S
[all...]
/external/clang/include/clang-c/
H A DPlatform.h10 |* This header provides platform specific macros (dllimport, deprecated, ...) *|
33 #define CINDEX_DEPRECATED __attribute__((deprecated))
36 #define CINDEX_DEPRECATED __declspec(deprecated)
/external/doclava/src/com/google/doclava/apicheck/
H A DAbstractMethodInfo.java25 public void setDeprecated(boolean deprecated); argument
/external/webkit/Source/WebKit/mac/Misc/
H A DWebAssertions.h30 #warning <WebKit/WebAssertions.h> is deprecated. Please move away from this SPI as soon as is possible.
/external/kernel-headers/original/linux/
H A Dcompiler-gcc.h29 #define __deprecated __attribute__((deprecated))
/external/llvm/include/llvm/Support/
H A DCompiler.h172 decl __attribute__((deprecated(message)))
175 decl __attribute__((deprecated))
178 __declspec(deprecated(message)) decl
/external/dbus/dbus/
H A Ddbus-macros.h56 # define DBUS_DEPRECATED __declspec(deprecated)
138 * deprecated stuff here

Completed in 457 milliseconds

123