Lines Matching +defs:h +defs:U
32 int h = bar(&h); variable
66 int h = bar(&h); in test_stuff() local
100 int h = bar(&h); in test_stuff() local
134 int h; in test_comma() local
523 class U { class
528 U() {} in U() function in U
529 U(bool (*)[1]) : b1() {} in U() function in U
530 U(bool (*)[2]) : b2(b1) {} in U() function in U
531 U(bool (*)[3]) : b1{ 5, &b1.x } {} in U() function in U
532 U(bool (*)[4]) : b1(getB()) {} in U() function in U
533 U(bool (*)[5]) : b1(getB(&b1)) {} in U() function in U
534 U(bool (*)[6]) : b1(getB(&b1.x)) {} in U() function in U
536 U(bool (*)[7]) : b1(b1) {} // expected-warning {{field 'b1' is uninitialized when used here}} in U() function in U
537 …U(bool (*)[8]) : b1(getB(b1.x)) {} // expected-warning {{field 'b1' is uninitialized when used he… in U() function in U
538 …U(bool (*)[9]) : b1(getB(b1.y)) {} // expected-warning {{field 'b1' is uninitialized when used he… in U() function in U
539 …U(bool (*)[10]) : b1(getB(-b1.x)) {} // expected-warning {{field 'b1' is uninitialized when used … in U() function in U
541 U(bool (*)[11]) : ptr1(0) {} in U() function in U
542 U(bool (*)[12]) : ptr1(0), ptr2(ptr1) {} in U() function in U
543 U(bool (*)[13]) : ptr1(getPtrB()) {} in U() function in U
544 U(bool (*)[14]) : ptr1(getPtrB(&ptr1)) {} in U() function in U
546 …U(bool (*)[15]) : ptr1(getPtrB(ptr1->x)) {} // expected-warning {{field 'ptr1' is uninitialized w… in U() function in U
547 …U(bool (*)[16]) : ptr2(getPtrB(ptr2->y)) {} // expected-warning {{field 'ptr2' is uninitialized w… in U() function in U
549 U(bool (*)[17]) : b1 { b1.x = 5, b1.y = 0 } {} in U() function in U
550 …U(bool (*)[18]) : b1 { b1.x + 1, b1.y } {} // expected-warning 2{{field 'b1' is uninitialized whe… in U() function in U
552 …U(bool (*)[19]) : constb(constb) {} // expected-warning {{field 'constb' is uninitialized when us… in U() function in U
553 …U(bool (*)[20]) : constb(B(constb)) {} // expected-warning {{field 'constb' is uninitialized when… in U() function in U
555 …U(bool (*)[21]) : b1(std::move(b1)) {} // expected-warning {{field 'b1' is uninitialized when use… in U() function in U
556 …U(bool (*)[22]) : b1(moveB(std::move(b1))) {} // expected-warning {{field 'b1' is uninitialized w… in U() function in U
557 …U(bool (*)[23]) : b1(B(std::move(b1))) {} // expected-warning {{field 'b1' is uninitialized when … in U() function in U
558 …U(bool (*)[24]) : b2(std::move(x ? b1 : (18, b2))) {} // expected-warning {{field 'b2' is uniniti… in U() function in U
711 static int h = bar(&h); variable
746 static int h = bar(&h); in test() local
780 static int h = bar(&h); in test() local
818 struct U { struct
819 U() : a(b + 1), b(a + 1) {} // expected-warning{{field 'b' is uninitialized when used here}} in U() function
820 … = 42; // Note: because a and b are in the member initializer list, these initializers are ignored.
821 int b = 1;
837 …int &h = return_ref2(h); // expected-warning{{reference 'h' is not yet bound to a value when used … variable
859 struct U { struct
860 U() : b(a) {} // No-warning. in U() argument
861 int &a = x;
862 int &b;