• Home
  • Raw
  • Download

Lines Matching +defs:C +defs:F +defs:S +defs:D

171 struct S {  struct
177 S(bool (*)[1]) : x(x) {} // expected-warning {{field 'x' is uninitialized when used here}} in S() argument
178 S(bool (*)[2]) : x(x + 1) {} // expected-warning {{field 'x' is uninitialized when used here}} in S() argument
179 S(bool (*)[3]) : x(x + x) {} // expected-warning 2{{field 'x' is uninitialized when used here}} in S() function
180S(bool (*)[4]) : x(static_cast<long>(x) + 1) {} // expected-warning {{field 'x' is uninitialized w… in S() function
181 S(bool (*)[5]) : x(foo(x)) {} // expected-warning {{field 'x' is uninitialized when used here}} in S() argument
184 S(char (*)[1]) : x(sizeof(x)) {} // rdar://8610363 in S() argument
185 S(char (*)[2]) : ptr(&ptr) {} in S() argument
186 S(char (*)[3]) : x(bar(&x)) {} in S() argument
187 S(char (*)[4]) : x(boo(x)) {} in S() argument
188 S(char (*)[5]) : x(far(x)) {} in S() argument
189 S(char (*)[6]) : x(__alignof__(x)) {} in S() function
191S(int (*)[1]) : x(0), y(x ? y : y) {} // expected-warning 2{{field 'y' is uninitialized when used … in S() function
192S(int (*)[2]) : x(0), y(1 + (x ? y : y)) {} // expected-warning 2{{field 'y' is uninitialized when… in S() argument
193 S(int (*)[3]) : x(-x) {} // expected-warning {{field 'x' is uninitialized when used here}} in S() function
194S(int (*)[4]) : x(std::move(x)) {} // expected-warning {{field 'x' is uninitialized when used here… in S() argument
195S(int (*)[5]) : z(std::move(z)) {} // expected-warning {{field 'z' is uninitialized when used here… in S() function
196S(int (*)[6]) : x(moved(std::move(x))) {} // expected-warning {{field 'x' is uninitialized when us… in S() function
197S(int (*)[7]) : x(0), y(std::move((x ? x : (18, y)))) {} // expected-warning {{field 'y' is uninit… in S() function
198S(int (*)[8]) : x(0), y(x ?: y) {} // expected-warning {{field 'y' is uninitialized when used here… in S() argument
199S(int (*)[9]) : x(0), y(y ?: x) {} // expected-warning {{field 'y' is uninitialized when used here… in S() function
200S(int (*)[10]) : x(0), y((foo(y), x)) {} // expected-warning {{field 'y' is uninitialized when use… in S() function
201S(int (*)[11]) : x(0), y(x += y) {} // expected-warning {{field 'y' is uninitialized when used her… in S() function
202 S(int (*)[12]) : x(x += 10) {} // expected-warning {{field 'x' is uninitialized when used here}} in S() argument
203 S(int (*)[13]) : x(x++) {} // expected-warning {{field 'x' is uninitialized when used here}} in S() argument
204S(int (*)[14]) : x(0), y(((x ? (y, x) : (77, y))++, sizeof(y))) {} // expected-warning {{field 'y'… in S() argument
205 S(int (*)[15]) : x(++ref(x)) {} // expected-warning {{field 'x' is uninitialized when used here}} in S() function
206S(int (*)[16]) : x((ref(x) += 10)) {} // expected-warning {{field 'x' is uninitialized when used h… in S() argument
207S(int (*)[17]) : x(0), y(y ? x : x) {} // expected-warning {{field 'y' is uninitialized when used … in S() argument
561 struct C { char a[100], *e; } car = { .e = car.a }; argument
622 struct C { struct
623 C() {} in C() function
624 C(int x) {} in C() function
625 static A a;
626 B b;
631 struct D { struct
632 C c;
633 D(char (*)[1]) : c(c.b.a.A1) {} in D() function
634 D(char (*)[2]) : c(c.b.a.A2()) {} in D() argument
635D(char (*)[3]) : c(c.b.a.A3) {} // expected-warning {{field 'c' is uninitialized when used here… in D() argument
636D(char (*)[4]) : c(c.b.a.A4()) {} // expected-warning {{field 'c' is uninitialized when used here… in D() function
639 D(char (*)[5]) : c(c.a.A1) {} in D() function
640 D(char (*)[6]) : c(c.a.A2()) {} in D() function
641 D(char (*)[7]) : c(c.a.A3) {} in D() function
642 D(char (*)[8]) : c(c.a.A4()) {} in D() argument
670 struct F { struct
671 int a;
672 F* f;
673 F(int) {} in F() function
674 F() {} in F() function
807 struct S { struct
808 S() : a(a + 1) {} // expected-warning{{field 'a' is uninitialized when used here}} in S() function
809 int a = 42; // Note: because a is in a member initializer list, this initialization is ignored.
839 struct S { struct
840 S() : a(a) {} // expected-warning{{reference 'a' is not yet bound to a value when used here}} in S() argument
841 int &a;
925 struct C { struct
926 C() {} // expected-note9{{in this constructor}} in C() function
927 A a1 = a1; // expected-warning {{uninitialized}}
928 A a2 = a2.get(); // expected-warning {{uninitialized}}
929 A a3 = a3.num();
930 A a4 = a4.copy(a4); // expected-warning {{uninitialized}}
931 A a5 = a5.something(a5);
932 A a6 = ref(a6);
933 A a7 = const_ref(a7);
934 A a8 = pointer(&a8);
935 A a9 = normal(a9); // expected-warning {{uninitialized}}
936 const A a10 = a10; // expected-warning {{uninitialized}}
937 A a11 = std::move(a11); // expected-warning {{uninitialized}}
938 A a12 = A(std::move(a12)); // expected-warning {{uninitialized}}
939 A a13 = rref(std::move(a13)); // expected-warning {{uninitialized}}
940 A a14 = std::move(x ? a13 : (22, a14)); // expected-warning {{uninitialized}}
942 struct D { // expected-note9{{in the implicit default constructor}} struct
943 A a1 = a1; // expected-warning {{uninitialized}}
944 A a2 = a2.get(); // expected-warning {{uninitialized}}
945 A a3 = a3.num();
946 A a4 = a4.copy(a4); // expected-warning {{uninitialized}}
947 A a5 = a5.something(a5);
948 A a6 = ref(a6);
949 A a7 = const_ref(a7);
950 A a8 = pointer(&a8);
951 A a9 = normal(a9); // expected-warning {{uninitialized}}
952 const A a10 = a10; // expected-warning {{uninitialized}}
953 A a11 = std::move(a11); // expected-warning {{uninitialized}}
954 A a12 = A(std::move(a12)); // expected-warning {{uninitialized}}
955 A a13 = rref(std::move(a13)); // expected-warning {{uninitialized}}
956 A a14 = std::move(x ? a13 : (22, a14)); // expected-warning {{uninitialized}}
991 struct C { struct
992 int a;
993 int b = a; // expected-warning{{field 'a' is uninitialized when used here}}
994 C(char (*)[1]) : a(5) {} in C() argument
995 C(char (*)[2]) {} // expected-note{{during field initialization in this constructor}} in C() function
998 struct D { struct
999 int a;
1000 int &b;
1001 int &c = a;
1002 int d = b;
1003 D() : b(a) {} in D() argument
1014 struct F { struct
1015 int a;
1016 E e;
1017 int b;
1018 F(char (*)[1]) : a(e.get()) {} // expected-warning{{field 'e' is uninitialized when used here}} in F() argument
1019 F(char (*)[2]) : a(e.num()) {} in F() function
1020 F(char (*)[3]) : e(a) {} // expected-warning{{field 'a' is uninitialized when used here}} in F() function
1021 F(char (*)[4]) : a(4), e(a) {} in F() function
1022 F(char (*)[5]) : e(b) {} // expected-warning{{field 'b' is uninitialized when used here}} in F() function
1023 F(char (*)[6]) : e(b), b(4) {} // expected-warning{{field 'b' is uninitialized when used here}} in F() function
1122 struct C : public A { struct
1123 int x;
1124 int y;
1125 C() : A(y = 4), x(y) {} in C() argument
1183 struct C {int a; int& b; int c; }; argument
1192 struct D {int &a; int &b; }; argument
1335 class C { class
1337 C() : ptr(foo->Create()) {} in C() function in template_class::C
1371 struct C { struct
1372 C(int) {} in C() function
1375 struct D : public C, public A { struct
1376 D(int (*)[1]) : C(0) {} in D() argument
1377 D(int (*)[2]) : C(bar()) {} in D() argument
1379 D(int (*)[3]) : C(i) {} in D() argument
1382 D(int (*)[4]) : C(foo()) {} in D() argument