/external/clang/test/SemaCXX/ |
attr-deprecated-replacement-error.cpp | 7 int a1 [[deprecated("warning", "fixit")]]; // expected-error{{'deprecated' attribute takes no more than 1 argument}} 8 int a2 [[deprecated("warning", 1)]]; // expected-error{{'deprecated' attribute takes no more than 1 argument}} 10 int b1 [[gnu::deprecated("warning", "fixit")]]; // expected-error{{'deprecated' attribute takes no more than 1 argument}} 11 int b2 [[gnu::deprecated("warning", 1)]]; // expected-error{{'deprecated' attribute takes no more than 1 argument}} 13 __declspec(deprecated("warning", "fixit")) int c1; // expected-error{{'deprecated' attribute takes no more than 1 argument} [all...] |
generalized-deprecated.cpp | 1 // RUN: %clang_cc1 -std=c++11 -verify -fsyntax-only -fms-extensions -Wno-deprecated -Wc++14-extensions %s 3 // NOTE: use -Wno-deprecated to avoid cluttering the output with deprecated 6 [[deprecated("1")]] int function_1(); 7 // expected-warning@-1 {{use of the 'deprecated' attribute is a C++14 extension}} 9 [[gnu::deprecated("3")]] int function_3(); 11 int __attribute__ (( deprecated("2") )) function_2(); 13 __declspec(deprecated("4")) int function_4();
|
warn-deprecated-header.cpp | 4 // expected-warning@+2 {{This file is deprecated.}} 6 #warning This file is deprecated.
|
attr-deprecated-replacement-fixit.cpp | 15 void f_8(int) __attribute__((deprecated("message", "new8"))); // expected-note {{'f_8' has been explicitly marked deprecated here}} 17 void f_2(int) __attribute__((availability(macosx,deprecated=9.0,replacement="new2"))); // expected-note {{'f_2' has been explicitly marked deprecated here}} 20 f_8(0); // expected-warning{{'f_8' is deprecated}} 22 f_2(0); // expected-warning{{'f_2' is deprecated: first deprecated in macOS 9.0}}
|
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.deprecated/ |
p1.cpp | 3 class [[deprecated]] C {}; // expected-note {{'C' has been explicitly marked deprecated here}} 4 C c; // expected-warning {{'C' is deprecated}} 6 typedef int t [[deprecated]]; // expected-note {{'t' has been explicitly marked deprecated here}} 7 t x = 42; // expected-warning {{'t' is deprecated}} 9 [[deprecated]] int old = 42; // expected-note {{'old' has been explicitly marked deprecated here}} 10 int use = old; // expected-warning {{'old' is deprecated}} 12 struct S { [[deprecated]] int member = 42; } s; // expected-note {{'member' has been explicitly marked deprecated here} [all...] |
/external/libxml2/ |
DOCBparser.c | 4 * 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 = 0 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...] |
/external/clang/test/Index/ |
availability.c | 3 void foo(void) __attribute__((availability(macosx,introduced=10.4,deprecated=10.5,obsoleted=10.7), availability(ios,introduced=3.2,deprecated=4.1))); 7 } __attribute__((deprecated)); 11 } __attribute__((availability(macosx,introduced=10.4,deprecated=10.5,obsoleted=10.7) 16 // CHECK-1: (ios, introduced=3.2, deprecated=4.1) 17 // CHECK-2: (macos, introduced=10.4, deprecated=10.5, obsoleted=10.7) 19 // CHECK-2: EnumConstantDecl=old_enum:6:3 (Definition) (deprecated) 20 // CHECK-2: EnumConstantDecl=old_enum_plat:10:3 {{.*}} (macos, introduced=10.4, deprecated=10.5, obsoleted=10.7)
|
annotate-comments-availability-attrs.cpp | 13 void attr_availability_1() __attribute__((availability(macosx,obsoleted=10.0,introduced=8.0,deprecated=9.0, message="use availability_test in <foo.h>"))) 19 void attr_availability_2() __attribute__((availability(macosx,obsoleted=10.0.1,introduced=8.0.1,deprecated=9.0.1))); 24 void attr_deprecated_1() __attribute__((deprecated)); 26 // CHECK: FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments-availability-attrs.cpp" line="[[@LINE-2]]" column="6"><Name>attr_deprecated_1</Name><USR>c:@F@attr_deprecated_1#</USR><Declaration>void attr_deprecated_1()</Declaration><Abstract><Para> Aaa.</Para></Abstract><Deprecated/></Function>] 29 void attr_deprecated_2() __attribute__((deprecated("message 1 <foo.h>"))); 31 // CHECK: FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments-availability-attrs.cpp" line="[[@LINE-2]]" column="6"><Name>attr_deprecated_2</Name><USR>c:@F@attr_deprecated_2#</USR><Declaration>void attr_deprecated_2()</Declaration><Abstract><Para> Aaa.</Para></Abstract><Deprecated>message 1 <foo.h></Deprecated></Function>]
|
/external/clang/test/Sema/ |
surpress-deprecated.c | 1 // RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s 3 extern void OldFunction() __attribute__((deprecated));
|
weak-import-on-enum.c | 6 enum __attribute__((deprecated)) __attribute__((weak_import)) A {
|
typeof-use-deprecated.c | 3 struct s { int a; } __attribute__((deprecated)) x; // expected-warning {{'s' is deprecated}} expected-note 2 {{'s' has been explicitly marked deprecated 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' has been explicitly marked deprecated 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' has been explicitly marked deprecated here} [all...] |
attr-deprecated.c | 3 int f() __attribute__((deprecated)); // expected-note 2 {{'f' has been explicitly marked deprecated here}} 4 void g() __attribute__((deprecated)); 5 void g(); // expected-note {{'g' has been explicitly marked deprecated here}} 7 extern int var __attribute__((deprecated)); // expected-note {{'var' has been explicitly marked deprecated 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}} [all...] |
attr-availability-watchos.c | 3 void f0(int) __attribute__((availability(ios,introduced=2.0,deprecated=2.1))); // expected-note {{'f0' has been explicitly marked deprecated here}} 5 void f2(int) __attribute__((availability(ios,introduced=2.0,deprecated=3.0))); // expected-note {{'f2' has been explicitly marked deprecated 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}} 8 void f5(int) __attribute__((availability(ios,introduced=2.0))) __attribute__((availability(ios,deprecated=3.0))); // expected-note {{'f5' has been explicitly marked deprecated here}} 9 void f6(int) __attribute__((availability(ios,deprecated=12.1))); // OK - not deprecated for watchO [all...] |
attr-deprecated-message.c | 4 typedef int INT1 __attribute__((deprecated("Please avoid INT1"))); // expected-note 3 {{'INT1' has been explicitly marked deprecated 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' has been explicitly marked deprecated 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' has been explicitly marked deprecated here} [all...] |
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 {{'f2' has been explicitly marked deprecated here}} 7 void f4(int) __attribute__((availability(android,introduced=9,deprecated=11,obsoleted=16), availability(ios,introduced=2.0,deprecated=3.0))); // expected-note{{explicitly marked unavailable}} 13 f2(0); // expected-warning{{'f2' is deprecated: first deprecated in Android 16}} 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))) [all...] |
attr-availability-tvos.c | 3 void f0(int) __attribute__((availability(tvos,introduced=2.0,deprecated=2.1))); // expected-note {{'f0' has been explicitly marked deprecated here}} 5 void f2(int) __attribute__((availability(tvos,introduced=2.0,deprecated=3.0))); // expected-note {{'f2' has been explicitly marked deprecated here}} 7 void f4(int) __attribute__((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(tvos,introduced=2.0,deprecated=2.1,obsoleted=3.0))); // expected-note{{explicitly marked unavailable}} 9 void f5(int) __attribute__((availability(tvos,introduced=2.0))) __attribute__((availability(tvos,deprecated=3.0))); // expected-note {{'f5' has been explicitly marked deprecated here}} 10 void f6(int) __attribute__((availability(tvos,deprecated=3.0))); 11 void f6(int) __attribute__((availability(tvos,introduced=2.0))); // expected-note {{'f6' has been explicitly marked deprecated here} [all...] |
attr-availability-ios.c | 3 void f0(int) __attribute__((availability(ios,introduced=2.0,deprecated=2.1))); // expected-note {{'f0' has been explicitly marked deprecated here}} 5 void f2(int) __attribute__((availability(ios,introduced=2.0,deprecated=3.0))); // expected-note {{'f2' has been explicitly marked deprecated 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' has been explicitly marked deprecated here}} 10 void f6(int) __attribute__((availability(ios,deprecated=3.0))); 11 void f6(int) __attribute__((availability(ios,introduced=2.0))); // expected-note {{'f6' has been explicitly marked deprecated here} [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/aarch64/ |
deprecated.d | 1 #name: Deprecated Support 2 #source: deprecated.s 3 #error-output: deprecated.l
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/arm/ |
vstr-arm-bad.l | 2 [^:]*:6: Use of PC here is deprecated 3 [^:]*:7: Use of PC here is deprecated
|
armv1.l | 2 [^:]*: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
|
ldsgeb.l | 2 .*: conditional infixes are deprecated in unified syntax
|
ldsgeh.l | 2 .*: conditional infixes are deprecated in unified syntax
|
thumb32.l | 2 [^;]*: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...] |
/build/kati/testcase/ |
deprecated_var.mk | 7 # Writing to an undefined deprecated variable 10 $(info Makefile:8: B has been deprecated.) 13 # Reading from deprecated variables (set before/after/never the deprecation func) 14 # Writing to an undefined deprecated variable 17 $(info Makefile:15: A has been deprecated.) 18 $(info Makefile:15: B has been deprecated.) 19 $(info Makefile:15: C has been deprecated.) 20 $(info Makefile:15: D has been deprecated.) 23 # Writing to a reset deprecated variable 26 $(info Makefile:24: D has been deprecated. [all...] |
/external/llvm/test/MC/ARM/ |
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...] |