• Home
  • Raw
  • Download

Lines Matching full:variable

7   int x; // expected-note{{initialize the variable 'x' to silence this warning}}  in test1()
8 return x; // expected-warning{{variable 'x' is uninitialized when used here}} in test1()
23 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test4()
24 ++x; // expected-warning{{variable 'x' is uninitialized when used here}} in test4()
29 int x, y; // expected-note{{initialize the variable 'y' to silence this warning}} in test5()
30 x = y; // expected-warning{{variable 'y' is uninitialized when used here}} in test5()
35 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test6()
36 x += 2; // expected-warning{{variable 'x' is uninitialized when used here}} in test6()
41 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test7()
42 …if (y) // expected-warning{{variable 'x' is used uninitialized whenever 'if' condition is false}} \ in test7()
49 int x = x; // expected-note{{variable 'x' is declared here}} in test7b()
55 return x; // expected-warning{{variable 'x' may be uninitialized when used here}} in test7b()
68 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test9()
74 return x; // expected-warning{{variable 'x' may be uninitialized when used here}} in test9()
78 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test10()
82 return x; // expected-warning{{variable 'x' may be uninitialized when used here}} in test10()
86 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test11()
90 return x; // expected-warning{{variable 'x' may be uninitialized when used here}} in test11()
94 …; n ; ++i) ; // expected-warning{{variable 'i' is uninitialized when used here}} expected-note{{in… in test12()
114 // an unintialized variable and this is the root cause. in test15b()
115 …int x = x; // expected-warning {{variable 'x' is uninitialized when used within its own initializa… in test15b()
128 // Don't warn multiple times about the same uninitialized variable in test17()
130 int *x; // expected-note{{initialize the variable 'x' to silence this warning}} in test17()
131 *x = 1; // expected-warning{{variable 'x' is uninitialized when used here}} in test17()
154 int z; // expected-note{{initialize the variable 'z' to silence this warning}} in test20()
155 …st19_aux2() && test19_aux1()) || test19_aux3(&z)) // expected-warning {{variable 'z' is used unini… in test20()
161 int z; // expected-note{{initialize the variable 'z' to silence this warning}} in test21()
162 …if ((x && y) || test19_aux3(&z) || test19_aux2()) // expected-warning {{variable 'z' is used unini… in test21()
186 unsigned val; // expected-note{{initialize the variable 'val' to silence this warning}} in test24()
191 return val; // expected-warning{{variable 'val' may be uninitialized when used here}} in test24()
195 float x; // expected-note{{initialize the variable 'x' to silence this warning}} in test25()
196 return x; // expected-warning{{variable 'x' is uninitialized when used here}} in test25()
201 MyInt x; // expected-note{{initialize the variable 'x' to silence this warning}} in test26()
202 return x; // expected-warning{{variable 'x' is uninitialized when used here}} in test26()
212 int len; // expected-note{{initialize the variable 'len' to silence this warning}} in test28()
213 return sizeof(int[len]); // expected-warning{{variable 'len' is uninitialized when used here}} in test28()
217 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test29()
218 (void) ^{ (void) x; }; // expected-warning{{variable 'x' is uninitialized when captured by block}} in test29()
242 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test_34()
244 return x; // expected-warning{{variable 'x' is uninitialized when used here}} in test_34()
256 void **pc; // expected-note{{initialize the variable 'pc' to silence this warning}} in test36()
259 goto *pc; // expected-warning{{variable 'pc' is uninitialized when used here}} in test36()
285 int y; // expected-note{{initialize the variable 'y' to silence this warning}} in test39()
286 int z = x + y; // expected-warning {{variable 'y' is uninitialized when used here}} in test39()
292 int y; // expected-note{{initialize the variable 'y' to silence this warning}} in test40()
293 return x ? 1 : y; // expected-warning {{variable 'y' is uninitialized when used here}} in test40()
297 int y; // expected-note{{initialize the variable 'y' to silence this warning}} in test41()
298 …if (x) y = 1; // expected-warning{{variable 'y' is used uninitialized whenever 'if' condition is f… in test41()
310 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test43()
312 test43_aux(x++); // expected-warning {{variable 'x' is uninitialized when used here}} in test43()
317 int y; // expected-note{{initialize the variable 'y' to silence this warning}} in test44()
320 x += y; // expected-warning {{variable 'y' is uninitialized when used here}} in test44()
333 int i; // expected-note{{initialize the variable 'i' to silence this warning}} in test46()
334 int j = i ? : 1; // expected-warning {{variable 'i' is uninitialized when used here}} in test46()
364 int x; // expected-note {{initialize the variable 'x' to silence this warning}} in test52()
373 return x; // expected-warning {{variable 'x' may be uninitialized when used here}} in test52()
377 int x; // expected-note {{initialize the variable 'x' to silence this warning}} in test53()
378 int y = (x); // expected-warning {{variable 'x' is uninitialized when used here}} in test53()
384 int new_len; // expected-note{{initialize the variable 'new_len' to silence this warning}} in PR10379_f()
392 *len += new_len; // expected-warning {{variable 'new_len' may be uninitialized when used here}} in PR10379_f()
426 int i; // expected-note {{initialize the variable 'i' to silence this warning}} in rdar9432305()
427 for (; i < 10000; ++i) // expected-warning {{variable 'i' is uninitialized when used here}} in rdar9432305()
435 UNINIT(int, a, b); // expected-warning {{variable 'a' is uninitialized when used here}} \ in test54()
436 // expected-note {{variable 'a' is declared here}} in test54()
437 int c; // expected-note {{initialize the variable 'c' to silence this warning}} in test54()
438 ASSIGN(int, c, d); // expected-warning {{variable 'c' is uninitialized when used here}} in test54()
450 consume(k); // expected-warning {{variable 'k' is uninitialized}} in uninit_in_loop()
464 // variable's scope has been left and re-entered. in uninit_in_loop_goto()
465 consume(k); // expected-warning {{variable 'k' may be uninitialized}} in uninit_in_loop_goto()
477 if (!a) { // expected-warning {{variable 'a' is uninitialized}} in returns_twice()
492 sum += arr[i]; // expected-warning {{variable 'sum' is uninitialized}} in compound_assign()
498 return x += 1; // expected-warning {{variable 'x' is uninitialized}} in compound_assign_2()
503 x *= 0; // expected-warning {{variable 'x' is uninitialized}} in compound_assign_3()
515 int x; // expected-note {{initialize the variable 'x' to silence this warning}} in test_analyzer_noreturn()
521 ++x; // expected-warning {{variable 'x' is uninitialized when used here}} in test_analyzer_noreturn()