Lines Matching +defs:c +defs:U
25 int c = (c + c); // expected-warning 2 {{variable 'c' is uninitialized when used within its own ini… variable
58 …int c = (c + c); // expected-warning {{variable 'c' is uninitialized when used within its own init… in test_stuff() local
92 …int c = (c + c); // expected-warning {{variable 'c' is uninitialized when used within its own init… in test_stuff() local
129 …int c = (a, a, b, c); // expected-warning {{variable 'c' is uninitialized when used within its ow… 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
632 C c; member
647 int c = 1; member
703 …static int c = (c + c); // expected-warning 2{{variable 'c' is uninitialized when used within its … variable
738 …static int c = (c + c); // expected-warning 2{{static variable 'c' is suspiciously used within its… in test() local
772 …static int c = (c + c); // expected-warning 2{{static variable 'c' is suspiciously used within its… 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() argument
820 … = 42; // Note: because a and b are in the member initializer list, these initializers are ignored.
821 int b = 1;
828 …int &c = a ? b : c; // expected-warning{{reference 'c' is not yet bound to a value when used withi… variable
847 …int &c = a ? b : c; // expected-warning{{reference 'c' is not yet bound to a value when used withi… in test() local
855 int &c = c; // expected-warning{{reference 'c' is not yet bound to a value when used here}} member
859 struct U { struct
860 U() : b(a) {} // No-warning. in U() function
861 int &a = x;
862 int &b;
1001 int &c = a; member
1045 int c; member
1082 int &c; member
1092 int c; member
1183 struct C {int a; int& b; int c; }; member
1344 C<int> c; variable