Lines Matching +defs:x +defs:B
49 int x = x++; // expected-warning {{variable 'x' is uninitialized when used within its own initializ… variable
83 …int x = x++; // expected-warning {{variable 'x' is uninitialized when used within its own initiali… in test_stuff() local
117 …int x = x++; // expected-warning {{variable 'x' is uninitialized when used within its own initiali… in test_stuff() local
140 int x; member
172 int x; member
219 int set(int x) { num = x; return num; } in set()
224 A(int x) {} in A()
225 A(int *x) {} in A()
236 A getA(int x) { return A(); } in getA()
242 void setupA(bool x) { in setupA()
435 struct B { struct
437 int x; member
441 B getB() { return B(); }; in getB() argument
442 B getB(int x) { return B(); }; in getB()
443 B getB(int *x) { return B(); }; in getB()
448 B* getPtrB(int x) { return 0; }; in getPtrB()
449 B* getPtrB(int *x) { return 0; }; in getPtrB()
452 void setupB(bool x) { in setupB()
574 FooImpl(const T &x) : val(x) {} in FooImpl()
578 template <typename T> FooImpl<T> makeFoo(const T& x) { in makeFoo()
583 const Foo &x = makeFoo(42); in test() local
593 int x = ({ in pr12325() local
606 …auto f1 = [] (int x, int y) { int z; return x + y + z; }; // expected-warning{{variable 'z' is uni… in test_lambda()
618 struct B { struct
619 A a;
728 …static int x = x++; // expected-warning {{variable 'x' is uninitialized when used within its own i… variable
763 …static int x = x++; // expected-warning {{static variable 'x' is suspiciously used within its own… in test() local
797 …static int x = x++; // expected-warning {{static variable 'x' is suspiciously used within its own… in test() local
858 int x; variable
878 int x = x = 5; variable
884 int x; member
894 bool x; variable
909 struct B { struct
910 A a;
911 B(char (*)[1]) : a(a) {} // expected-warning {{uninitialized}} in B() argument
912 B(char (*)[2]) : a(a.get()) {} // expected-warning {{uninitialized}} in B() argument
913 B(char (*)[3]) : a(a.num()) {} in B() function
914 B(char (*)[4]) : a(a.copy(a)) {} // expected-warning {{uninitialized}} in B() function
915 B(char (*)[5]) : a(a.something(a)) {} in B() function
916 B(char (*)[6]) : a(ref(a)) {} in B() function
917 B(char (*)[7]) : a(const_ref(a)) {} in B() function
918 B(char (*)[8]) : a(pointer(&a)) {} in B() function
919 B(char (*)[9]) : a(normal(a)) {} // expected-warning {{uninitialized}} in B() function
920 B(char (*)[10]) : a(std::move(a)) {} // expected-warning {{uninitialized}} in B() argument
921 B(char (*)[11]) : a(A(std::move(a))) {} // expected-warning {{uninitialized}} in B() function
922 B(char (*)[12]) : a(rref(std::move(a))) {} // expected-warning {{uninitialized}} in B() argument
923 B(char (*)[13]) : a(std::move(x ? a : (25, a))) {} // expected-warning 2{{uninitialized}} in B() argument
985 struct B { struct
986 int a = b; // expected-warning{{field 'b' is uninitialized when used here}}
987 int b;
988 B() {} // expected-note{{during field initialization in this constructor}} in B() argument
1069 int x = 42; member
1075 int x = o.get(); member
1100 int x; member
1117 struct B : public A { struct
1118 int x; member
1119 B() : A(x) {} // expected-warning{{field 'x' is uninitialized when used here}} in B() function
1123 int x; member
1141 int x; member
1148 struct B { A a1, a2; }; argument
1324 class B { class
1327 B() : ptr(foo->Create()) {} in B() function in template_class::B
1360 struct B : public A { struct
1361 B(int (*)[1]) : A() {} in B() argument
1362 B(int (*)[2]) : A(bar()) {} in B() function
1364 B(int (*)[3]) : A(i) {} in B() function
1367 B(int (*)[4]) : A(foo()) {} in B() function