• Home
  • Raw
  • Download

Lines Matching full:null

14   a = 0 ? NULL + a : a + NULL; // expected-warning 2{{use of NULL in arithmetic operation}}  in f()
15 a = 0 ? NULL - a : a - NULL; // expected-warning 2{{use of NULL in arithmetic operation}} in f()
16 a = 0 ? NULL / a : a / NULL; // expected-warning 2{{use of NULL in arithmetic operation}} \ in f()
18 a = 0 ? NULL * a : a * NULL; // expected-warning 2{{use of NULL in arithmetic operation}} in f()
19 a = 0 ? NULL >> a : a >> NULL; // expected-warning 2{{use of NULL in arithmetic operation}} in f()
20 a = 0 ? NULL << a : a << NULL; // expected-warning 2{{use of NULL in arithmetic operation}} in f()
21 a = 0 ? NULL % a : a % NULL; // expected-warning 2{{use of NULL in arithmetic operation}} \ in f()
23 a = 0 ? NULL & a : a & NULL; // expected-warning 2{{use of NULL in arithmetic operation}} in f()
24 a = 0 ? NULL | a : a | NULL; // expected-warning 2{{use of NULL in arithmetic operation}} in f()
25 a = 0 ? NULL ^ a : a ^ NULL; // expected-warning 2{{use of NULL in arithmetic operation}} in f()
29 v = 0 ? NULL + &a : &a + NULL; // expected-warning 2{{use of NULL in arithmetic operation}} in f()
30 v = 0 ? NULL + c : c + NULL; // \ in f()
33 v = 0 ? NULL + d : d + NULL; // \ in f()
36 …v = 0 ? NULL + e : e + NULL; // expected-error 2{{arithmetic on a pointer to the function type 'vo… in f()
37 v = 0 ? NULL + f : f + NULL; // expected-warning 2{{use of NULL in arithmetic operation}} in f()
38 v = 0 ? NULL + "f" : "f" + NULL; // expected-warning 2{{use of NULL in arithmetic operation}} in f()
41 a = NULL + NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
42 a = NULL - NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
43 a = NULL / NULL; // expected-warning{{use of NULL in arithmetic operation}} \ in f()
45 a = NULL * NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
46 a = NULL >> NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
47 a = NULL << NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
48 a = NULL % NULL; // expected-warning{{use of NULL in arithmetic operation}} \ in f()
50 a = NULL & NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
51 a = NULL | NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
52 a = NULL ^ NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
54 a += NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
55 a -= NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
56 a /= NULL; // expected-warning{{use of NULL in arithmetic operation}} \ in f()
58 a *= NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
59 a >>= NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
60 a <<= NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
61 a %= NULL; // expected-warning{{use of NULL in arithmetic operation}} \ in f()
63 a &= NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
64 a |= NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
65 a ^= NULL; // expected-warning{{use of NULL in arithmetic operation}} in f()
67 …b = a < NULL || a > NULL; // expected-warning 2{{comparison between NULL and non-pointer ('int' an… in f()
68 …b = NULL < a || NULL > a; // expected-warning 2{{comparison between NULL and non-pointer (NULL and… in f()
69 …b = a <= NULL || a >= NULL; // expected-warning 2{{comparison between NULL and non-pointer ('int' … in f()
70 …b = NULL <= a || NULL >= a; // expected-warning 2{{comparison between NULL and non-pointer (NULL a… in f()
71 …b = a == NULL || a != NULL; // expected-warning 2{{comparison between NULL and non-pointer ('int' … in f()
72 …b = NULL == a || NULL != a; // expected-warning 2{{comparison between NULL and non-pointer (NULL a… in f()
74 b = &a < NULL || NULL < &a || &a > NULL || NULL > &a; in f()
75 b = &a <= NULL || NULL <= &a || &a >= NULL || NULL >= &a; in f()
76 b = &a == NULL || NULL == &a || &a != NULL || NULL != &a; in f()
81 b = NULL < NULL || NULL > NULL; in f()
82 b = NULL <= NULL || NULL >= NULL; in f()
83 b = NULL == NULL || NULL != NULL; in f()
85 …b = ((NULL)) != a; // expected-warning{{comparison between NULL and non-pointer (NULL and 'int')}} in f()
88 b = c == NULL || NULL == c || c != NULL || NULL != c; in f()
89 b = d == NULL || NULL == d || d != NULL || NULL != d; in f()
90 b = e == NULL || NULL == e || e != NULL || NULL != e; in f()
91 b = f == NULL || NULL == f || f != NULL || NULL != f; in f()
92 b = "f" == NULL || NULL == "f" || "f" != NULL || NULL != "f"; in f()
94 return NULL; // expected-error{{void function 'f' should not return a value}} in f()