/external/libxml2/ |
D | DOCBparser.c | 43 static int deprecated = 0; in docbEncodeEntities() local 45 if (!deprecated) { in docbEncodeEntities() 48 deprecated = 1; in docbEncodeEntities() 67 static int deprecated = 0; in docbParseDocument() local 69 if (!deprecated) { in docbParseDocument() 72 deprecated = 1; in docbParseDocument() 88 static int deprecated = 0; in docbFreeParserCtxt() local 90 if (!deprecated) { in docbFreeParserCtxt() 93 deprecated = 1; in docbFreeParserCtxt() 115 static int deprecated = 0; in docbParseChunk() local [all …]
|
D | legacy.c | 55 static int deprecated = 0; in htmlDecodeEntities() local 57 if (!deprecated) { in htmlDecodeEntities() 60 deprecated = 1; in htmlDecodeEntities() 416 static int deprecated = 0; in xmlDecodeEntities() local 418 if (!deprecated) { in xmlDecodeEntities() 421 deprecated = 1; in xmlDecodeEntities() 446 static int deprecated = 0; in xmlNamespaceParseNCName() local 448 if (!deprecated) { in xmlNamespaceParseNCName() 451 deprecated = 1; in xmlNamespaceParseNCName() 481 static int deprecated = 0; in xmlNamespaceParseQName() local [all …]
|
/external/llvm/test/MC/ARM/ |
D | v8_IT_manual.s | 11 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 14 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 18 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 30 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 34 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 42 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 46 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 50 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 59 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 71 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block [all …]
|
D | deprecated-v8.s | 7 @ CHECK-ARMV8: warning: deprecated 8 @ CHECK-THUMBV8: warning: deprecated 9 @ CHECK-ARMV7-NOT: warning: deprecated 10 @ CHECK-THUMBV7-NOT: warning: deprecated 12 @ CHECK-ARMV8: warning: deprecated since v7, use 'isb' 13 @ CHECK-THUMBV8: warning: deprecated since v7, use 'isb' 14 @ CHECK-ARMV7: warning: deprecated since v7, use 'isb' 15 @ CHECK-THUMBV7: warning: deprecated since v7, use 'isb' 16 @ CHECK-ARMV6-NOT: warning: deprecated since v7, use 'isb' 18 @ CHECK-ARMV8: warning: deprecated since v7, use 'dsb' [all …]
|
D | arm-load-store-multiple-deprecated.s | 14 @ CHECK: warning: use of SP or PC in the list is deprecated 18 @ CHECK: warning: use of SP or PC in the list is deprecated 22 @ CHECK: warning: use of SP or PC in the list is deprecated 26 @ CHECK: warning: use of SP or PC in the list is deprecated 30 @ CHECK: warning: use of SP or PC in the list is deprecated 34 @ CHECK: warning: use of SP or PC in the list is deprecated 42 @ CHECK: warning: use of SP or PC in the list is deprecated 46 @ CHECK: warning: use of SP or PC in the list is deprecated 50 @ CHECK: warning: use of SP or PC in the list is deprecated 54 @ CHECK: warning: use of SP or PC in the list is deprecated [all …]
|
/external/clang/test/SemaObjC/ |
D | attr-deprecated.m | 5 …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 8 - (void)f __attribute__((deprecated)); // expected-note 5 {{'f' has been explicitly marked deprecat… argument 12 + (void)F __attribute__((deprecated)) 14 [self F]; // no warning, since the caller is also deprecated. 19 X++; // expected-warning{{'X' is deprecated}} 20 self->X++; // expected-warning{{'X' is deprecated}} 21 [self f]; // expected-warning{{'f' is deprecated}} 26 [self f]; // no warning, the caller is deprecated in its interface. 36 [super F]; // expected-warning{{'F' is deprecated}} [all …]
|
D | warn-deprecated-implementations.m | 6 - (void) D __attribute__((deprecated)); // expected-note {{method 'D' declared here}} argument 10 + (void)F __attribute__((deprecated)); argument 14 - (void) E __attribute__((deprecated)); category 18 + (void)F { } // No warning, implementing its own deprecated method 19 - (void) D {} // expected-warning {{Implementing deprecated method}} 20 - (void) E {} // No warning, implementing deprecated method in its class extension. 24 - (void) G __attribute__((deprecated)); argument 28 - (void) G {} // No warning, implementing its own deprecated method 31 __attribute__((deprecated)) 32 …te 2 {{class declared here}} // expected-note 2 {{'CL' has been explicitly marked deprecated here}} [all …]
|
D | special-dep-unavail-warning.m | 7 - (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 12 - (void) depunavailInA1 __attribute__((deprecated)) __attribute__((unavailable)); // expected-note … 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 23 - (void) depunavailInA __attribute__((deprecated)) __attribute__((unavailable)); // expected-note {… 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… [all …]
|
D | attr-availability-1.m | 7 …bility(macosx,introduced=10_1,deprecated=10_2))); // expected-note 2 {{'proto_method' has been exp… 11 …ailability(macosx,introduced=10_1,deprecated=10_2))); // expected-note {{'method' has been explici… 15 - (void)overridden3 __attribute__((availability(macosx,deprecated=10_3))); 16 - (void)overridden4 __attribute__((availability(macosx,deprecated=10_3))); // expected-note{{overri… 26 - (void)overridden3 __attribute__((availability(macosx,deprecated=10_4))); 27 …idden4 __attribute__((availability(macosx,deprecated=10_2))); // expected-warning{{overriding meth… 33 [a method]; // expected-warning{{'method' is deprecated: first deprecated in OS X 10.2}} 35 …[a proto_method]; // expected-warning{{'proto_method' is deprecated: first deprecated in OS X 10.2… 36 …[b proto_method]; // expected-warning{{'proto_method' is deprecated: first deprecated in OS X 10.2… 40 // using a deprecated method when that method is re-implemented in a [all …]
|
D | property-deprecated-warning.m | 9 …,deprecated=3.0))); // expected-note {{property 'ptarget' is declared deprecated here}} expected-n… 24 …deprecated=3.0))); // expected-note {{property 'target' is declared deprecated here}} expected-not… 38 …vailability(ios,introduced=2.0,deprecated=3.0))); // expected-note 2 {{'dep_target' has been expli… 39 … // expected-note 4 {{property 'dep_target' is declared deprecated here}} \ 40 … // expected-note 2 {{'setDep_target:' has been explicitly marked deprecated here}} 54 …et: [self dep_target]]; // expected-warning {{'dep_target' is deprecated: first deprecated in iOS … 55 … // expected-warning {{'setDep_target:' is deprecated: first deprecated in iOS 3.0}} 78 …[self setTarget: (id)0]; // expected-warning {{'setTarget:' is deprecated: first deprecated in iOS… 79 …et: [self dep_target]]; // expected-warning {{'dep_target' is deprecated: first deprecated in iOS … 80 … // expected-warning {{'setDep_target:' is deprecated: first deprecated in iOS 3.0}} [all …]
|
D | property-noninherited-availability-attr.m | 3 // 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 OS X 10.8}} 24 …(void)[y myProperty]; // expected-warning {{'myProperty' is deprecated: first deprecated in OS X… 32 …tocolProperty]; // expected-warning {{'myProtocolProperty' is deprecated: first deprecated in OS X…
|
D | protocol-attribute.m | 9 __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}}
|
D | method-attributes.m | 16 - (int) foo1: (int)arg1 __attribute__((deprecated)); argument 20 - (int) foo2: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)); 21 - (int) foo3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) __attribute__((ns_… 25 - (int) foo: (int)arg1 __attribute__((deprecated)){ argument 31 - (int) foo2: (int)arg1 __attribute__((deprecated)) { argument 34 - (int) foo3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) __attribute__((ns_… 35 - (void) dep __attribute__((deprecated)) { } // OK private methodn argument 65 -(id)method __attribute__((deprecated)); argument 68 - (id) method3: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((… 69 - (id) method4: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((… [all …]
|
D | attr-availability.m | 5 …bility(macosx,introduced=10.1,deprecated=10.2))); // expected-note 2 {{'proto_method' has been exp… argument 14 …ailability(macosx,introduced=10.1,deprecated=10.2))); // expected-note {{'method' has been explici… argument 22 - (void)overridden3 __attribute__((availability(macosx,deprecated=10.3))); argument 23 - (void)overridden4 __attribute__((availability(macosx,deprecated=10.3))); // expected-note{{overri… argument 34 - (void)overridden3 __attribute__((availability(macosx,deprecated=10.4))); argument 35 …idden4 __attribute__((availability(macosx,deprecated=10.2))); // expected-warning{{overriding meth… argument 41 [a method]; // expected-warning{{'method' is deprecated: first deprecated in OS X 10.2}} 43 …[a proto_method]; // expected-warning{{'proto_method' is deprecated: first deprecated in OS X 10.2… 44 …[b proto_method]; // expected-warning{{'proto_method' is deprecated: first deprecated in OS X 10.2… 74 // using a deprecated method when that method is re-implemented in a [all …]
|
D | warn-protocol-method-deprecated.m | 6 …tocolMethod __attribute__((deprecated)); // expected-note 2 {{'deprecatedProtocolMethod' has been … argument 14 …stanceMethod __attribute__((deprecated)); // expected-note {{'deprecatedInstanceMethod' has been e… argument 23 …testObj deprecatedInstanceMethod]; // expected-warning {{'deprecatedInstanceMethod' is deprecated}} 26 …testObj deprecatedProtocolMethod]; // expected-warning {{'deprecatedProtocolMethod' is deprecated}} 30 …stProto deprecatedProtocolMethod]; // expected-warning {{'deprecatedProtocolMethod' is deprecated}}
|
/external/clang/test/Sema/ |
D | attr-deprecated.c | 3 int f() __attribute__((deprecated)); // expected-note 2 {{'f' has been explicitly marked deprecated… 4 void g() __attribute__((deprecated)); 7 extern int var __attribute__((deprecated)); // expected-note {{'var' has been explicitly marked dep… 25 int old_fn() __attribute__ ((deprecated)); 35 …int x __attribute__((deprecated)); // expected-note 3 {{'x' has been explicitly marked deprecated … 44 typedef struct foo foo_dep __attribute__((deprecated)); // expected-note 12 {{'foo_dep' has been ex… 47 struct __attribute__((deprecated, 55 foo_dep *test4 __attribute__((deprecated)); 56 struct bar_dep *test5 __attribute__((deprecated)); 60 typedef foo_dep test7(struct bar_dep*) __attribute__((deprecated)); [all …]
|
D | attr-availability.c | 5 void f0() __attribute__((availability(macosx,introduced=10.4,deprecated=10.2))); // expected-warnin… 6 void f1() __attribute__((availability(ios,obsoleted=2.1,deprecated=3.0))); // expected-warning{{fe… 7 void f2() __attribute__((availability(ios,introduced=2.1,deprecated=2.1))); 13 ATSFontGetName(const char *oName) __attribute__((availability(macosx,introduced=8.0,deprecated=9.0,… 53 void f4(int) __attribute__((availability(ios,deprecated=3.0))); 56 void f5(int) __attribute__((availability(ios,deprecated=3.0), 59 void f6(int) __attribute__((availability(ios,deprecated=3.0))); // expected-note {{previous attribu… 60 void f6(int) __attribute__((availability(ios,deprecated=4.0))); // expected-warning {{availability … 63 void f7(int) __attribute__((availability(ios,deprecated=3.0))); // expected-note {{previous attribu… 64 void f7(int) __attribute__((availability(ios,deprecated=4.0))); // expected-warning {{availability …
|
D | attr-availability-android.c | 3 void f0(int) __attribute__((availability(android,introduced=14,deprecated=19))); 5 void f2(int) __attribute__((availability(android,introduced=14,deprecated=16))); // expected-note {… 7 …ute__((availability(android,introduced=9,deprecated=11,obsoleted=16), availability(ios,introduced=… 22 foo __attribute__((availability(android,introduced=8.0,deprecated=9.0))) 26 bar __attribute__((availability(android,introduced=8.0,deprecated=9.0))) = foo 29 enum __attribute__((availability(android,introduced=8.0,deprecated=9.0))) {
|
D | attr-availability-macosx.c | 3 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-not… 7 …_((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(ios,introduce… 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))) {
|
D | typeof-use-deprecated.c | 3 struct s { int a; } __attribute__((deprecated)) x; // expected-warning {{'s' is deprecated}} expec… 7 union un{ int a; } __attribute__((deprecated)) u; // expected-warning {{'un' is deprecated}} expec… 11 enum E{ one} __attribute__((deprecated)) e; // expected-warning {{'E' is deprecated}} expected-not… 15 struct foo { int x; } __attribute__((deprecated)); // expected-note {{'foo' has been explicitly mar… 16 typedef struct foo bar __attribute__((deprecated)); // expected-note {{'bar' has been explicitly ma… 22 typedef struct gorf T __attribute__((deprecated)); // expected-note {{'T' has been explicitly mark…
|
D | attr-availability-ios.c | 3 void f0(int) __attribute__((availability(ios,introduced=2.0,deprecated=2.1))); // expected-note {{'… 5 void f2(int) __attribute__((availability(ios,introduced=2.0,deprecated=3.0))); // expected-note {{'… 7 …_((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(ios,introduce… 9 …__((availability(ios,introduced=2.0))) __attribute__((availability(ios,deprecated=3.0))); // expec… 10 void f6(int) __attribute__((availability(ios,deprecated=3.0)));
|
/external/clang/test/SemaCXX/ |
D | attr-deprecated.cpp | 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 … 29 …virtual void f() __attribute__((deprecated)); // expected-note 4 {{'f' has been explicitly marked … 59 virtual void f() __attribute__((deprecated)); 71 …void foo(int) __attribute__((deprecated)); // expected-note {{'foo' has been explicitly marked dep… 73 …void foo(short) __attribute__((deprecated)); // expected-note {{'foo' has been explicitly marked d… 78 …friend void foo(A*) __attribute__((deprecated)); // expected-note {{'foo' has been explicitly mark… 84 …void foo(const Foo &f) __attribute__((deprecated)); // expected-note {{'foo' has been explicitly m… 94 …void foo(int) __attribute__((deprecated)); // expected-note 2 {{'foo' has been explicitly marked d… [all …]
|
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.deprecated/ |
D | p1.cpp | 3 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 {};
|
/external/clang/test/Misc/ |
D | ast-print-objectivec.m | 6 - (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 23 // CHECK: - (void) MethP __attribute__((availability(macosx, introduced=10.1.0, deprecated=10.2))); 27 // CHECK: - (void) MethI __attribute__((availability(macosx, introduced=10.1.0, deprecated=10.2))); 31 // CHECK: - (void) MethCAT __attribute__((availability(macosx, introduced=10_1_0, deprecated=10_2))… 35 // CHECK: - (void) MethP __attribute__((availability(macosx, introduced=10.1.0, deprecated=10.2))) { 38 // CHECK: - (void) MethI __attribute__((availability(macosx, introduced=10.1.0, deprecated=10.2))) {
|
/external/clang/test/Parser/ |
D | MicrosoftExtensions.c | 7 __declspec(deprecated) __declspec(deprecated) char * __cdecl ltoa( long _Val, char * _DstBuf, int _… 41 enum __declspec(deprecated) E2 { i, j, k }; /* expected-note {{'E2' has been explicitly marked depr… 42 __declspec(deprecated) enum E3 { a, b, c } e; /* expected-note {{'e' has been explicitly marked dep… 67 __declspec(deprecated()) void dep_func_test(void); /* expected-error {{parentheses must be omitted … 68 __declspec(deprecated) void dep_func_test2(void); 69 __declspec(deprecated("")) void dep_func_test3(void); 72 struct __declspec(align(8) deprecated) S4 {}; 75 struct __declspec(deprecated frobble "testing") S5 {}; /* expected-warning {{__declspec attribute … 76 struct __declspec(unknown(12) deprecated) S6 {}; /* expected-warning {{__declspec attribute 'unknow…
|