/external/clang/test/Parser/ |
cxx-ext-delete-default.cpp | 4 A(const A&) = delete; // expected-warning {{C++11 extension}} 5 A& operator=(const A&) = delete; // expected-warning {{C++11 extension}} 6 A() = default; // expected-warning {{C++11 extension}} 10 void f() = delete; // expected-warning {{C++11 extension}} 11 A::~A() = default; //expected-warning {{C++11 extension}}
|
pragma-visibility.c | 3 #pragma GCC visibility foo // expected-warning{{expected identifier in '#pragma visibility' - ignored}} 4 #pragma GCC visibility pop foo // expected-warning{{extra tokens at end of '#pragma visibility' - ignored}} 5 #pragma GCC visibility push // expected-warning{{missing '(' after '#pragma visibility'}} 6 #pragma GCC visibility push( // expected-warning{{expected identifier in '#pragma visibility' - ignored}} 7 #pragma GCC visibility push(hidden // expected-warning{{missing ')' after '#pragma visibility' - ignoring}}
|
/external/clang/test/SemaCXX/ |
attr-optnone.cpp | 6 int baz() __attribute__((always_inline)) __attribute__((optnone)); // expected-warning{{'always_inline' attribute ignored}} expected-note{{conflicting attribute is here}} 7 int quz() __attribute__((optnone)) __attribute__((always_inline)); // expected-warning{{'always_inline' attribute ignored}} expected-note{{conflicting attribute is here}} 9 __attribute__((always_inline)) int baz1(); // expected-warning{{'always_inline' attribute ignored}} 13 __attribute__((always_inline)) int quz1() { return 1; } // expected-warning{{'always_inline' attribute ignored}} 15 int bay() __attribute__((minsize)) __attribute__((optnone)); // expected-warning{{'minsize' attribute ignored}} expected-note{{conflicting}} 16 int quy() __attribute__((optnone)) __attribute__((minsize)); // expected-warning{{'minsize' attribute ignored}} expected-note{{conflicting}} 18 __attribute__((minsize)) int bay1(); // expected-warning{{'minsize' attribute ignored}} 22 __attribute__((minsize)) int quy1() { return 1; } // expected-warning{{'minsize' attribute ignored}} 24 __attribute__((always_inline)) // expected-warning{{'always_inline' attribute ignored}} 25 __attribute__((minsize)) // expected-warning{{'minsize' attribute ignored} [all...] |
auto-cxx98.cpp | 3 auto int a; // expected-warning {{'auto' storage class specifier is redundant and incompatible with C++11}} 4 int auto b; // expected-warning {{'auto' storage class specifier is redundant and incompatible with C++11}} 5 auto c; // expected-warning {{C++11 extension}} expected-error {{requires an initializer}} 6 static auto d = 0; // expected-warning {{C++11 extension}} 7 auto static e = 0; // expected-warning {{C++11 extension}}
|
cxx1z-init-statement-warn-unused.cpp | 4 if (bool b; b) // expected-warning {{uninitialized}} expected-note {{to silence}} 6 if (int a, b = 2; a) // expected-warning {{uninitialized}} expected-note {{to silence}} 13 switch (bool b; b) { // expected-warning {{uninitialized}} expected-warning {{boolean value}} expected-note {{to silence}} 17 switch (int a, b = 7; a) { // expected-warning {{uninitialized}} expected-note {{to silence}}
|
old-style-cast.cpp | 4 long x = (long)12; // expected-warning {{use of old-style cast}} 5 (long)x; // expected-warning {{use of old-style cast}} expected-warning {{expression result unused}} 6 (void**)x; // expected-warning {{use of old-style cast}} expected-warning {{expression result unused}}
|
warn-address.cpp | 10 if (foo) {} // expected-warning{{always evaluate to 'true'}} \ 12 if (arr) {} // expected-warning{{always evaluate to 'true'}} 13 if (&global) {} // expected-warning{{always evaluate to 'true'}} 14 if (foo == 0) {} // expected-warning{{always false}} \ 16 if (arr == 0) {} // expected-warning{{always false}} 17 if (&global == 0) {} // expected-warning{{always false}} 19 if (str == "foo") {} // expected-warning{{unspecified}}
|
warn-vla.cpp | 4 int v[n]; // expected-warning {{variable length array used}} 7 void test2(int n, int v[n]) { // expected-warning {{variable length array used}} 10 void test3(int n, int v[n]); // expected-warning {{variable length array used}} 14 int v[n]; // expected-warning {{variable length array used}} 18 void test5(int n, int v[n]) { // expected-warning {{variable length array used}} 22 void test6(int n, int v[n]); // expected-warning {{variable length array used}} 25 void test7(int n, T v[n]) { // expected-warning {{variable length array used}}
|
/external/clang/test/SemaObjCXX/Inputs/ |
nullability-consistency-2.h | 3 void g2(int (^block)(int, int)); // expected-warning{{block pointer is missing a nullability type specifier}} 6 id // expected-warning{{missing a nullability type specifier}} 8 * // expected-warning{{missing a nullability type specifier}} 16 @property (readonly, weak) SomeClass *property3; // expected-warning{{missing a nullability type specifier}} 20 @property (readonly, weak) SomeClass *property4; // expected-warning{{missing a nullability type specifier}}
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-elf/ |
warn3.d | 3 #warning: .*: warning: badsym warning$ 7 # generic linker targets don't support .gnu.warning sections. 9 # Check that warnings are generated for the symbols in .gnu.warning
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
msm_audio_calibration.h | 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS * [all...] |
/development/ide/intellij/ |
IndecentExposure.xml | 5 <inspection_tool class="FieldCanBeLocal" level="WARNING" enabled="false" /> 6 <inspection_tool class="UnnecessaryModuleDependencyInspection" level="WARNING" enabled="false" /> 8 <inspection_tool class="RedundantTypeArguments" level="WARNING" enabled="false" /> 10 <inspection_tool class="CssOverwrittenProperties" level="WARNING" enabled="false" /> 11 <inspection_tool class="MissedExecutable" level="WARNING" enabled="false" /> 14 <inspection_tool class="EmptyCatchBlock" level="WARNING" enabled="false"> 19 <inspection_tool class="StringToString" level="WARNING" enabled="false" /> 22 <inspection_tool class="MalformedRegex" level="WARNING" enabled="false" /> 24 <inspection_tool class="TrivialIfJS" level="WARNING" enabled="false" /> 25 <inspection_tool class="CaughtExceptionImmediatelyRethrown" level="WARNING" enabled="false" / [all...] |
/external/clang/test/Preprocessor/ |
Weverything_pragma.c | 7 #define UNUSED_MACRO1 1 // expected-warning{{macro is not used}} 9 void foo() // expected-warning {{no previous prototype for function}} 12 (void) L'ab'; // expected-warning {{extraneous characters in character constant ignored}} 14 #pragma clang diagnostic warning "-Weverything" // Should not change anyhting. 15 #define UNUSED_MACRO2 1 // expected-warning{{macro is not used}} 16 (void) L'cd'; // expected-warning {{extraneous characters in character constant ignored}} 19 #define UNUSED_MACRO2 1 // no warning 20 (void) L'ef'; // no warning here 22 #pragma clang diagnostic warning "-Weverything" // Revert back to warnings. 23 #define UNUSED_MACRO3 1 // expected-warning{{macro is not used} [all...] |
pragma_diagnostic.c | 7 #pragma GCC diagnostic warning "-Wundef" 9 #if FOO // expected-warning {{'FOO' is not defined}} 24 #pragma GCC diagnostic foo "-Wundef" // expected-warning {{pragma diagnostic expected 'error', 'warning', 'ignored', 'fatal', 'push', or 'pop'}} 28 #pragma GCC diagnostic error "-Wundef" 42 // expected-warning {{unexpected token in pragma diagnostic}} 29 #pragma GCC diagnostic error "invalid-name" // expected-warning {{pragma diagnostic expected option name (e.g. "-Wundef")}} 31 #pragma GCC diagnostic error "-Winvalid-name" // expected-warning {{unknown warning group '-Winvalid-name', ignored}} 37 #pragma clang diagnostic warning "-Weverything" 38 void ppp(){} // expected-warning {{no previous prototype for function 'ppp'} [all...] |
/external/clang/test/Sema/ |
format-strings-size_t.c | 7 printf("%zu", (double)42); // expected-warning {{format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'double'}} 10 printf("%jd", (double)42); // expected-warning {{format specifies type 'intmax_t' (aka 'long') but the argument has type 'double'}} 11 printf("%ju", (double)42); // expected-warning {{format specifies type 'uintmax_t' (aka 'unsigned long') but the argument has type 'double'}} 14 printf("%td", (double)42); // expected-warning {{format specifies type 'ptrdiff_t' (aka 'long') but the argument has type 'double'}} 18 printf("%jn", (long*)0); // no-warning 19 printf("%jn", (unsigned long*)0); // no-warning 20 printf("%jn", (int*)0); // expected-warning{{format specifies type 'intmax_t *' (aka 'long *') but the argument has type 'int *'}} 22 printf("%zn", (long*)0); // no-warning 25 printf("%tn", (long*)0); // no-warning 26 printf("%tn", (unsigned long*)0); // no-warning [all...] |
warn-cast-qual.c | 8 char *y = (char *)ptr; // expected-warning {{cast from 'const char *' to 'char *' drops const qualifier}} 9 char **y1 = (char **)ptrptr; // expected-warning {{cast from 'const char *const' to 'char *' drops const qualifier}} 10 const char **y2 = (const char **)ptrptr; // expected-warning {{cast from 'const char *const *' to 'const char **' drops const qualifier}} 12 char *z = (char *)(uintptr_t)(const void *)ptr; // no warning 13 char *z1 = (char *)(const void *)ptr; // expected-warning {{cast from 'const void *' to 'char *' drops const qualifier}} 16 char *vol2 = (char *)vol; // expected-warning {{cast from 'volatile char *' to 'char *' drops volatile qualifier}} 18 char *volc2 = (char *)volc; // expected-warning {{cast from 'const volatile char *' to 'char *' drops const and volatile qualifiers}} 21 const int **intptrptrc = (const int **)intptrptr; // expected-warning {{cast from 'int **' to 'const int **' must have all intermediate pointers const qualified}} 22 volatile int **intptrptrv = (volatile int **)intptrptr; // expected-warning {{cast from 'int **' to 'volatile int **' must have all intermediate pointers const qualified}} 25 const int *intptrc = (const int *)intptr; // no warning [all...] |
warn-sizeof-array-decay.c | 8 (void)sizeof(bar + 10); // expected-warning{{sizeof on pointer operation will return size of 'int *' instead of 'int [20]'}} 9 (void)sizeof(foo - 20); // expected-warning{{sizeof on pointer operation will return size of 'char *' instead of 'char [10]'}} 10 (void)sizeof(bar - x); // expected-warning{{sizeof on pointer operation will return size of 'int *' instead of 'int [20]'}} 11 (void)sizeof(foo + x); // expected-warning{{sizeof on pointer operation will return size of 'char *' instead of 'char [10]'}} 14 (void)sizeof(foo - qux); // no-warning 16 (void)sizeof(foo, x); // no-warning 17 (void)sizeof(x, foo); // expected-warning{{sizeof on pointer operation will return size of 'char *' instead of 'char [10]'}}
|
/hardware/qcom/msm8x84/kernel-headers/media/ |
msm_cam_sensor.h | 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS * [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mips/ |
relax.l | 2 .*:9: Warning: relaxed out-of-range branch into a jump 3 .*:10: Warning: relaxed out-of-range branch into a jump 4 .*:11: Warning: relaxed out-of-range branch into a jump 5 .*:12: Warning: relaxed out-of-range branch into a jump 6 .*:13: Warning: relaxed out-of-range branch into a jump 7 .*:14: Warning: relaxed out-of-range branch into a jump 8 .*:15: Warning: relaxed out-of-range branch into a jump 9 .*:16: Warning: relaxed out-of-range branch into a jump 10 .*:17: Warning: relaxed out-of-range branch into a jump 11 .*:18: Warning: relaxed out-of-range branch into a jum [all...] |
micromips-warn-branch-delay.l | 2 .*:8: Warning: wrong size instruction in a 16-bit branch delay slot 3 .*:10: Warning: wrong size instruction in a 16-bit branch delay slot 4 .*:12: Warning: wrong size instruction in a 16-bit branch delay slot 5 .*:14: Warning: wrong size instruction in a 16-bit branch delay slot 6 .*:16: Warning: wrong size instruction in a 16-bit branch delay slot 7 .*:18: Warning: wrong size instruction in a 16-bit branch delay slot 8 .*:20: Warning: wrong size instruction in a 16-bit branch delay slot
|
/external/clang/test/Analysis/ |
bool-assignment.c | 5 // FIXME: We stopped warning on these when SValBuilder got smarter about 10 bool constant = 2; // no-warning 12 bool x = y; // no-warning 16 bool x = y; // no-warning 19 bool x = y; // no-warning 23 bool x = 0; // no-warning 25 x = y; // no-warning 29 x = y; // no-warning 32 x = y; // no-warning 40 BOOL constant = 2; // expected-warning {{Assignment of a non-Boolean value} [all...] |
vfork.c | 10 pid_t pid = vfork(); // expected-warning{{Call to function 'vfork' is insecure}} 17 pid = 1; // no-warning 19 execl("", "", 0); // no-warning 20 _exit(1); // no-warning 24 x = 0; // expected-warning{{This assignment is prohibited after a successful vfork}} 28 foo(); // expected-warning{{This function call is prohibited after a successful vfork}} 32 return 0; // expected-warning{{Return is prohibited after a successful vfork; call _exit() instead}} 40 pid_t pid = vfork(); // expected-warning{{Call to function 'vfork' is insecure}} 45 pid = 1; // no-warning 47 execl("", "", 0); // no-warning [all...] |
/hardware/qcom/msm8994/kernel-headers/media/ |
msm_cam_sensor.h | 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS * [all...] |
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_nopfuncs.c | 46 warning(const char *name) function 55 warning(__func__); 61 warning(__func__); 67 warning(__func__); 73 warning(__func__); 79 warning(__func__); 85 warning(__func__); 91 warning(__func__); 97 warning(__func__); 103 warning(__func__) [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/msp430/ |
errata_warns.l | 2 [^:]*:5: Warning: cpu4: not converting PUSH #4 to shorter form 3 [^:]*:6: Warning: cpu4: not converting PUSH #8 to shorter form 4 [^:]*:11: Warning: CPU8: Stack pointer accessed with an odd offset 5 [^:]*:12: Warning: CPU8: Stack pointer accessed with an odd offset 6 [^:]*:13: Warning: CPU8: Stack pointer accessed with an odd offset 7 [^:]*:14: Warning: CPU8: Stack pointer accessed with an odd offset 8 [^:]*:15: Warning: CPU8: Stack pointer accessed with an odd offset 9 [^:]*:18: Warning: CPU11: PC is destinstion of SR altering instruction 10 [^:]*:19: Warning: CPU11: PC is destinstion of SR altering instruction 11 [^:]*:20: Warning: CPU11: PC is destinstion of SR altering instructio [all...] |