Lines Matching full:always
15 if (!b) {} // expected-warning {{address of array 'b' will always evaluate to 'true'}} in test()
16 …if (b == 0) {} // expected-warning {{comparison of array 'b' equal to a null pointer is always fal… in test()
17 if (!c.x) {} // expected-warning {{address of array 'c.x' will always evaluate to 'true'}} in test()
18 … == 0) {} // expected-warning {{comparison of array 'c.x' equal to a null pointer is always false}} in test()
19 if (!str) {} // expected-warning {{address of array 'str' will always evaluate to 'true'}} in test()
20 …= str) {} // expected-warning {{comparison of array 'str' equal to a null pointer is always false}} in test()
26 if (!array) { // expected-warning {{address of array 'array' will always evaluate to 'true'}} in test1()
28 …0) { // expected-warning {{comparison of array 'array' not equal to a null pointer is always true}} in test1()
31 …y == 0) // expected-warning {{comparison of array 'array' equal to a null pointer is always false}} in test1()
39 if (!&pointer) { // expected-warning {{address of 'pointer' will always evaluate to 'true'}} in test2()
43 if (&pointer) { // expected-warning {{address of 'pointer' will always evaluate to 'true'}} in test2()
47 … // expected-warning {{comparison of address of 'pointer' equal to a null pointer is always false}} in test2()
49 … expected-warning {{comparison of address of 'pointer' not equal to a null pointer is always true}} in test2()
55 if (array) { } // expected-warning {{address of array 'array' will always evaluate to 'true'}} in test3()
56 …) {} // expected-warning {{comparison of array 'array' not equal to a null pointer is always true}} in test3()
57 if (!array) { } // expected-warning {{address of array 'array' will always evaluate to 'true'}} in test3()
58 …= 0) {} // expected-warning {{comparison of array 'array' equal to a null pointer is always false}} in test3()
61 array) {} // expected-warning {{address of array 'array' will always evaluate to 'true'}} in test3()
64 array) {} // expected-warning {{address of array 'array' will always evaluate to 'true'}} in test3()
67 !array) {} // expected-warning {{address of array 'array' will always evaluate to 'true'}} in test3()
69 !array) {} // expected-warning {{address of array 'array' will always evaluate to 'true'}} in test3()
71 if (array && // expected-warning {{address of array 'array' will always evaluate to 'true'}} in test3()
73 if (!array || // expected-warning {{address of array 'array' will always evaluate to 'true'}} in test3()
76 if (array || // expected-warning {{address of array 'array' will always evaluate to 'true'}} in test3()
77 …(!array && array[0])) {} // expected-warning {{address of array 'array' will always evaluate to 't… in test3()