Home
last modified time | relevance | path

Searched full:warning (Results 1 – 25 of 4983) sorted by relevance

12345678910>>...200

/external/valgrind/memcheck/tests/
Derr_disable4.stderr.exp4 WARNING: exiting thread has error reporting disabled.
5 WARNING: possibly as a result of some mistake in the use
6 WARNING: of the VALGRIND_DISABLE_ERROR_REPORTING macros.
7 WARNING: exiting thread has error reporting disabled.
8 WARNING: possibly as a result of some mistake in the use
9 WARNING: of the VALGRIND_DISABLE_ERROR_REPORTING macros.
10 WARNING: exiting thread has error reporting disabled.
11 WARNING: possibly as a result of some mistake in the use
12 WARNING: of the VALGRIND_DISABLE_ERROR_REPORTING macros.
13 WARNING: exiting thread has error reporting disabled.
[all …]
/external/clang/test/Analysis/
Dpthreadlock.c17 pthread_mutex_lock(&mtx1); // no-warning in ok1()
23 pthread_mutex_unlock(&mtx1); // no-warning in ok2()
29 pthread_mutex_lock(&mtx1); // no-warning in ok3()
30 pthread_mutex_unlock(&mtx1); // no-warning in ok3()
31 pthread_mutex_lock(&mtx1); // no-warning in ok3()
32 pthread_mutex_unlock(&mtx1); // no-warning in ok3()
38 pthread_mutex_lock(&mtx1); // no-warning in ok4()
39 pthread_mutex_unlock(&mtx1); // no-warning in ok4()
40 pthread_mutex_lock(&mtx2); // no-warning in ok4()
41 pthread_mutex_unlock(&mtx2); // no-warning in ok4()
[all …]
Dadditive-folding-range-constraints.c15 clang_analyzer_eval(a < UINT_MAX-1); // expected-warning{{TRUE}} in smallAdjustmentGT()
17 clang_analyzer_eval(a == UINT_MAX-1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentGT()
22 clang_analyzer_eval(a < UINT_MAX-1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentGE()
24 clang_analyzer_eval(a == UINT_MAX-1); // expected-warning{{TRUE}} in smallAdjustmentGE()
29 clang_analyzer_eval(a == 0 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentLT()
34 clang_analyzer_eval(a == 0 || a == 1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentLE()
43 clang_analyzer_eval(a == 1); // expected-warning{{TRUE}} in largeAdjustmentGT()
45 clang_analyzer_eval(a != 1); // expected-warning{{TRUE}} in largeAdjustmentGT()
50 clang_analyzer_eval(a == 1 || a == 0); // expected-warning{{TRUE}} in largeAdjustmentGE()
52 clang_analyzer_eval(a > 1); // expected-warning{{TRUE}} in largeAdjustmentGE()
[all …]
Dptr-arith.c39 …int d = &y - &x; // expected-warning{{Subtraction of two pointers that do not point to the same me… in f3()
44 d = q-p; // no-warning in f3()
49 …p = (int*) 0x10000; // expected-warning{{Using a fixed address is not portable because that addres… in f4()
55 …p = &x + 1; // expected-warning{{Pointer arithmetic on non-array variables relies on memory layou… in f5()
58 p = a + 1; // no-warning in f5()
63 int d = q - p; // no-warning in f6()
69 clang_analyzer_eval(&&start != 0); // expected-warning{{TRUE}} in null_operand()
70 clang_analyzer_eval(&&start >= 0); // expected-warning{{TRUE}} in null_operand()
71 clang_analyzer_eval(&&start > 0); // expected-warning{{TRUE}} in null_operand()
72 clang_analyzer_eval((&&start - 0) != 0); // expected-warning{{TRUE}} in null_operand()
[all …]
Dpr22954.c28 clang_analyzer_eval(a0.s1[0] == 'a'); // expected-warning{{UNKNOWN}} in f0()
29 clang_analyzer_eval(a0.s1[1] == 'b'); // expected-warning{{UNKNOWN}} in f0()
30 clang_analyzer_eval(a0.s1[2] == 'c'); // expected-warning{{UNKNOWN}} in f0()
31 clang_analyzer_eval(a0.s1[3] == 'd'); // expected-warning{{UNKNOWN}} in f0()
32 clang_analyzer_eval(a0.s2 == 0); // expected-warning{{UNKNOWN}} in f0()
33 free(a0.s2); // no warning in f0()
42 clang_analyzer_eval(a1.s1[0] == 'a'); // expected-warning{{UNKNOWN}} in f1()
43 clang_analyzer_eval(a1.s1[1] == 'b'); // expected-warning{{UNKNOWN}} in f1()
44 clang_analyzer_eval(a1.s1[2] == 'c'); // expected-warning{{UNKNOWN}} in f1()
45 clang_analyzer_eval(a1.s1[3] == 'd'); // expected-warning{{UNKNOWN}} in f1()
[all …]
Dswitch-case.c21 clang_analyzer_eval(t == 1); // expected-warning{{TRUE}} in testAdjustment()
24 clang_analyzer_eval(t > 1); // expected-warning{{TRUE}} in testAdjustment()
25 clang_analyzer_eval(t + 2 <= 11); // expected-warning{{TRUE}} in testAdjustment()
26 clang_analyzer_eval(t > 2); // expected-warning{{UNKNOWN}} in testAdjustment()
27 clang_analyzer_eval(t + 1 == 3); // expected-warning{{UNKNOWN}} in testAdjustment()
28 clang_analyzer_eval(t + 1 == 10); // expected-warning{{UNKNOWN}} in testAdjustment()
31 clang_analyzer_warnIfReached(); // expected-warning{{REACHABLE}} in testAdjustment()
39 clang_analyzer_warnIfReached(); // expected-warning{{REACHABLE}} in testUnknownVal()
42 clang_analyzer_warnIfReached(); // expected-warning{{REACHABLE}} in testUnknownVal()
45 clang_analyzer_warnIfReached(); // expected-warning{{REACHABLE}} in testUnknownVal()
[all …]
Dctor.mm22 *(char *)0 = 1; // expected-warning{{Dereference of null pointer}}
35 clang_analyzer_eval(b.x == 42); // expected-warning{{TRUE}}
49 clang_analyzer_eval(b.x == 42); // expected-warning{{TRUE}}
87 clang_analyzer_eval(a == 1); // expected-warning{{TRUE}}
88 clang_analyzer_eval(b == 2); // expected-warning{{TRUE}}
89 clang_analyzer_eval(c == 3); // expected-warning{{TRUE}}
91 clang_analyzer_eval(obj.get() == 3); // expected-warning{{TRUE}}
95 clang_analyzer_eval(base->get() == 3); // expected-warning{{TRUE}}
103 clang_analyzer_checkInlined(true); // expected-warning{{TRUE}}
126 clang_analyzer_eval(result); // expected-warning{{TRUE}}
[all …]
Didentical-expressions.cpp3 /* Only one expected warning per function allowed at the very end. */
24 return (5.14F != 5.14F); // no warning in checkNotEqualFloatLiteralCompare1()
28 return (6.14F != 7.14F); // no warning in checkNotEqualFloatLiteralCompare2()
34 return (f != g); // no warning in checkNotEqualFloatDeclCompare1()
39 return (f != f); // no warning in checkNotEqualFloatDeclCompare12()
44 return (f != 7.1F); // no warning in checkNotEqualFloatDeclCompare3()
49 return (7.1F != f); // no warning in checkNotEqualFloatDeclCompare4()
55 return (t != f); // no warning in checkNotEqualFloatDeclCompare5()
61 return (f != t); // no warning in checkNotEqualFloatDeclCompare6()
68 …return ((int)f != (int)f); // expected-warning {{comparison of identical expressions always evalua… in checkNotEqualCastFloatDeclCompare11()
[all …]
/external/llvm/test/MC/Disassembler/AArch64/
Dfullfp16-neon-neg.txt6 # CHECK: warning: invalid instruction encoding
8 # CHECK: warning: invalid instruction encoding
10 # CHECK: warning: invalid instruction encoding
12 # CHECK: warning: invalid instruction encoding
14 # CHECK: warning: invalid instruction encoding
16 # CHECK: warning: invalid instruction encoding
18 # CHECK: warning: invalid instruction encoding
20 # CHECK: warning: invalid instruction encoding
22 # CHECK: warning: invalid instruction encoding
24 # CHECK: warning: invalid instruction encoding
[all …]
Dfullfp16-neg.txt5 # CHECK: warning: invalid instruction encoding
7 # CHECK: warning: invalid instruction encoding
9 # CHECK: warning: invalid instruction encoding
11 # CHECK: warning: invalid instruction encoding
13 # CHECK: warning: invalid instruction encoding
15 # CHECK: warning: invalid instruction encoding
17 # CHECK: warning: invalid instruction encoding
19 # CHECK: warning: invalid instruction encoding
21 # CHECK: warning: invalid instruction encoding
23 # CHECK: warning: invalid instruction encoding
[all …]
/external/llvm/test/MC/Disassembler/ARM/
Dfullfp16-neon-thumb-neg.txt3 # CHECK: warning: invalid instruction encoding
4 # CHECK: warning: invalid instruction encoding
8 # CHECK: warning: invalid instruction encoding
9 # CHECK: warning: invalid instruction encoding
13 # CHECK: warning: invalid instruction encoding
14 # CHECK: warning: invalid instruction encoding
18 # CHECK: warning: invalid instruction encoding
19 # CHECK: warning: invalid instruction encoding
23 # CHECK: warning: invalid instruction encoding
24 # CHECK: warning: invalid instruction encoding
[all …]
Dfullfp16-neon-arm-neg.txt3 # CHECK: warning: invalid instruction encoding
4 # CHECK: warning: invalid instruction encoding
8 # CHECK: warning: invalid instruction encoding
9 # CHECK: warning: invalid instruction encoding
13 # CHECK: warning: invalid instruction encoding
14 # CHECK: warning: invalid instruction encoding
18 # CHECK: warning: invalid instruction encoding
19 # CHECK: warning: invalid instruction encoding
23 # CHECK: warning: invalid instruction encoding
24 # CHECK: warning: invalid instruction encoding
[all …]
Dfullfp16-arm-neg.txt3 # CHECK: warning: invalid instruction encoding
6 # CHECK: warning: invalid instruction encoding
9 # CHECK: warning: invalid instruction encoding
12 # CHECK: warning: invalid instruction encoding
15 # CHECK: warning: invalid instruction encoding
18 # CHECK: warning: invalid instruction encoding
21 # CHECK: warning: invalid instruction encoding
24 # CHECK: warning: invalid instruction encoding
27 # CHECK: warning: invalid instruction encoding
30 # CHECK: warning: invalid instruction encoding
[all …]
Dfullfp16-thumb-neg.txt3 # CHECK: warning: invalid instruction encoding
6 # CHECK: warning: invalid instruction encoding
9 # CHECK: warning: invalid instruction encoding
12 # CHECK: warning: invalid instruction encoding
15 # CHECK: warning: invalid instruction encoding
18 # CHECK: warning: invalid instruction encoding
21 # CHECK: warning: invalid instruction encoding
24 # CHECK: warning: invalid instruction encoding
27 # CHECK: warning: invalid instruction encoding
30 # CHECK: warning: invalid instruction encoding
[all …]
/external/llvm/test/MC/ARM/
Dv8_IT_manual.s4 @ CHECK-NOT: [[@LINE+2]]:1: warning
8 @ CHECK-NOT: [[@LINE+2]]:1: warning
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
22 @ CHECK-NOT: [[@LINE+2]]:1: warning
26 @ CHECK-NOT: [[@LINE+2]]:1: warning
30 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
34 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block
38 @ CHECK-NOT: [[@LINE+2]]:1: warning
[all …]
/external/clang/test/Sema/
Dbool-compare.c8 …if ((a > 2) > 1) {} // expected-warning {{comparison of constant 1 with boolean expression is alwa… in f()
10 if (a > b) {} // no warning in f()
11 if (a < b) {} // no warning in f()
12 if (a >= b) {} // no warning in f()
13 if (a <= b) {} // no warning in f()
14 if (a == b) {} // no warning in f()
15 if (a != b) {} // no warning in f()
17 if (a > 0) {} // no warning in f()
18 if (a > 1) {} // no warning in f()
19 if (a > 2) {} // no warning in f()
[all …]
Dformat-strings.c31 printf(s); // expected-warning {{format string is not a string literal}} in check_string_literal()
33 vprintf(s,ap); // expected-warning {{format string is not a string literal}} in check_string_literal()
34 fprintf(fp,s); // expected-warning {{format string is not a string literal}} in check_string_literal()
36 vfprintf(fp,s,ap); // expected-warning {{format string is not a string literal}} in check_string_literal()
37 asprintf(&b,s); // expected-warning {{format string is not a string lit}} in check_string_literal()
39 vasprintf(&b,s,ap); // expected-warning {{format string is not a string literal}} in check_string_literal()
40 sprintf(buf,s); // expected-warning {{format string is not a string literal}} in check_string_literal()
42 snprintf(buf,2,s); // expected-warning {{format string is not a string lit}} in check_string_literal()
44 __builtin___sprintf_chk(buf,0,-1,s); // expected-warning {{format string is not a string literal}} in check_string_literal()
46 __builtin___snprintf_chk(buf,2,0,-1,s); // expected-warning {{format string is not a string lit}} in check_string_literal()
[all …]
Dformat-strings-scanf.c21 scanf(s, i); // expected-warning{{format string is not a string literal}} in test()
22 scanf("%0d", i); // expected-warning{{zero field width in scanf format string is unused}} in test()
23 scanf("%00d", i); // expected-warning{{zero field width in scanf format string is unused}} in test()
24 …scanf("%d%[asdfasdfd", i, s); // expected-warning{{no closing ']' for '%[' in scanf format string}} in test()
27 scanf ("%" "hu" "\n", &s_x); // no-warning in test()
28 scanf("%y", i); // expected-warning{{invalid conversion specifier 'y'}} in test()
29 scanf("%%"); // no-warning in test()
30 scanf("%%%1$d", i); // no-warning in test()
31 scanf("%1$d%%", i); // no-warning in test()
32 scanf("%d", i, i); // expected-warning{{data argument not used by format string}} in test()
[all …]
/external/clang/test/SemaCXX/
Dbool-compare.cpp8 …if(b > true) {} // expected-warning {{comparison of true with expression of type 'bool' is alwa… in f()
9 if(b < true) {} // no warning in f()
10 if(b >= true) {} // no warning in f()
11 …if(b <= true) {} // expected-warning {{comparison of true with expression of type 'bool' is alwa… in f()
12 if(b == true) {} // no warning in f()
13 if(b != true) {} // no warning in f()
15 if(b > false) {} // no warning in f()
16 …if(b < false) {} // expected-warning {{comparison of false with expression of type 'bool' is alw… in f()
17 …if(b >= false) {} // expected-warning {{comparison of false with expression of type 'bool' is alw… in f()
18 if(b <= false) {} // no warning in f()
[all …]
Dwarn-empty-body.cpp11 …f (x); // expected-warning {{if statement has empty body}} expected-note{{put the semicolon on a s… in test1()
15 …RO_A); // expected-warning {{if statement has empty body}} expected-note{{put the semicolon on a s… in test1()
16 …== x); // expected-warning {{if statement has empty body}} expected-note{{put the semicolon on a s… in test1()
20 … i++); { // expected-warning{{for loop has empty body}} expected-note{{put the semicolon on a sepa… in test1()
25 …x; i++); // expected-warning{{for loop has empty body}} expected-note{{put the semicolon on a sepa… in test1()
32 …i++); // expected-warning{{for loop has empty body}} expected-note{{put the semicolon on a separat… in test1()
38 …); // expected-warning{{range-based for loop has empty body}} expected-note{{put the semicolon on … in test1()
42 …); // expected-warning{{range-based for loop has empty body}} expected-note{{put the semicolon on … in test1()
45 … == 0); // expected-warning{{while loop has empty body}} expected-note{{put the semicolon on a sep… in test1()
48 …= 0); { // expected-warning{{while loop has empty body}} expected-note{{put the semicolon on a sep… in test1()
[all …]
Duninitialized.cpp23 int a = a; // no-warning: used to signal intended lack of initialization.
24 int b = b + 1; // expected-warning {{variable 'b' is uninitialized when used within its own initial…
25 int c = (c + c); // expected-warning 2 {{variable 'c' is uninitialized when used within its own ini…
26 int e = static_cast<long>(e) + 1; // expected-warning {{variable 'e' is uninitialized when used wit…
27 int f = foo(f); // expected-warning {{variable 'f' is uninitialized when used within its own initia…
37 int l = k ? l : l; // expected-warning 2{{variable 'l' is uninitialized when used within its own i…
38 int m = 1 + (k ? m : m); // expected-warning 2{{variable 'm' is uninitialized when used within its…
39 int n = -n; // expected-warning {{variable 'n' is uninitialized when used within its own initializ…
40 int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its own …
41 const int p = std::move(p); // expected-warning {{variable 'p' is uninitialized when used within it…
[all …]
Dwarn-enum-compare.cpp42 …while (x == AnonAA); // expected-warning {{comparison of constant 'AnonAA' (42) with expression of… in test()
43 …while (AnonBB == y); // expected-warning {{comparison of constant 'AnonBB' (45) with expression of… in test()
68 …while (B1 == B2); // expected-warning {{comparison of two values with different enumeration types… in test()
69 …while (name1::B2 == name2::B3); // expected-warning {{comparison of two values with different enu… in test()
70 …while (z == name2::B2); // expected-warning {{comparison of two values with different enumeration… in test()
72 …while (((((B1)))) == B2); // expected-warning {{comparison of two values with different enumerati… in test()
73 …while (name1::B2 == (name2::B3)); // expected-warning {{comparison of two values with different e… in test()
74 …while (z == ((((name2::B2))))); // expected-warning {{comparison of two values with different enu… in test()
76 …while ((((B1))) == (((B2)))); // expected-warning {{comparison of two values with different enume… in test()
77 …while ((name1::B2) == (((name2::B3)))); // expected-warning {{comparison of two values with diffe… in test()
[all …]
Dcxx98-compat.cpp6 using size_t = decltype(sizeof(0)); // expected-warning {{decltype}} expected-warning {{alias}}
16 template<typename ...T> // expected-warning {{variadic templates are incompatible with C++98}}
19 template<template<typename> class ...T> // expected-warning {{variadic templates are incompatible …
22 template<int ...I> // expected-warning {{variadic templates are incompatible with C++98}}
25 alignas(8) int with_alignas; // expected-warning {{'alignas' is incompatible with C++98}}
26 int with_attribute [[ ]]; // expected-warning {{C++11 attribute syntax is incompatible with C++98}}
29 (void)u8"str"; // expected-warning {{unicode literals are incompatible with C++98}} in Literals()
30 (void)u"str"; // expected-warning {{unicode literals are incompatible with C++98}} in Literals()
31 (void)U"str"; // expected-warning {{unicode literals are incompatible with C++98}} in Literals()
32 (void)u'x'; // expected-warning {{unicode literals are incompatible with C++98}} in Literals()
[all …]
/external/clang/test/Preprocessor/
Dpragma_microsoft.c48 __pragma(warning(push)); \
49 __pragma(warning(disable: 10000)); \
51 __pragma(warning(pop)); \
56 __pragma() // expected-warning{{unknown pragma ignored}} in f()
59 // If we ever actually *support* __pragma(warning(disable: x)), in f()
60 // this warning should go away. in f()
61 MACRO_WITH__PRAGMA // expected-warning {{lower precedence}} \ in f()
63 // CHECK: #pragma warning(push) in f()
64 // CHECK: #pragma warning(disable: 10000) in f()
66 // CHECK: #pragma warning(pop) in f()
[all …]
/external/clang/test/PCH/
Dcxx-traits.h6 struct __is_pod { // expected-warning {{keyword '__is_pod' will be made available as an identifier …
11 struct __is_empty { // expected-warning {{keyword '__is_empty' will be made available as an identif…
20 struct __is_abstract {}; // expected-warning {{made available}}
21 struct __is_arithmetic {}; // expected-warning {{made available}}
22 struct __is_array {}; // expected-warning {{made available}}
23 struct __is_assignable {}; // expected-warning {{made available}}
24 struct __is_base_of {}; // expected-warning {{made available}}
25 struct __is_class {}; // expected-warning {{made available}}
26 struct __is_complete_type {}; // expected-warning {{made available}}
27 struct __is_compound {}; // expected-warning {{made available}}
[all …]

12345678910>>...200