Lines Matching full:its

24 int b = b + 1; // expected-warning {{variable 'b' is uninitialized when used within its own initial…
25 int c = (c + c); // expected-warning 2 {{variable 'c' is uninitialized when used within its own ini…
26 … + 1; // expected-warning {{variable 'e' is uninitialized when used within its own initialization}}
27 int f = foo(f); // expected-warning {{variable 'f' is uninitialized when used within its own initia…
37 int l = k ? l : l; // expected-warning 2{{variable 'l' is uninitialized when used within its own i…
38 int m = 1 + (k ? m : m); // expected-warning 2{{variable 'm' is uninitialized when used within its
39 int n = -n; // expected-warning {{variable 'n' is uninitialized when used within its own initializ…
40 int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its own …
41 …e(p); // expected-warning {{variable 'p' is uninitialized when used within its own initialization}}
42 …(q)); // expected-warning {{variable 'q' is uninitialized when used within its own initialization}}
43 …r))); // expected-warning {{variable 'r' is uninitialized when used within its own initialization}}
44 int s = r ?: s; // expected-warning {{variable 's' is uninitialized when used within its own initia…
45 int t = t ?: s; // expected-warning {{variable 't' is uninitialized when used within its own initia…
46 int u = (foo(u), s); // expected-warning {{variable 'u' is uninitialized when used within its own i…
47 int v = (u += v); // expected-warning {{variable 'v' is uninitialized when used within its own init…
48 int w = (w += 10); // expected-warning {{variable 'w' is uninitialized when used within its own ini…
49 int x = x++; // expected-warning {{variable 'x' is uninitialized when used within its own initializ…
50 …(y)); // expected-warning {{variable 'y' is uninitialized when used within its own initialization}}
51 int z = ++ref(z); // expected-warning {{variable 'z' is uninitialized when used within its own init…
52 int aa = (ref(aa) += 10); // expected-warning {{variable 'aa' is uninitialized when used within its
53 int bb = bb ? x : y; // expected-warning {{variable 'bb' is uninitialized when used within its own …
57 …int b = b + 1; // expected-warning {{variable 'b' is uninitialized when used within its own initia… in test_stuff()
58 …int c = (c + c); // expected-warning {{variable 'c' is uninitialized when used within its own init… in test_stuff()
59 …int d = ({ d + d ;}); // expected-warning {{variable 'd' is uninitialized when used within its own… in test_stuff()
60 … + 1; // expected-warning {{variable 'e' is uninitialized when used within its own initialization}} in test_stuff()
61 …int f = foo(f); // expected-warning {{variable 'f' is uninitialized when used within its own initi… in test_stuff()
71 …int l = k ? l : l; // expected-warning {{variable 'l' is uninitialized when used within its own i… in test_stuff()
72 …int m = 1 + (k ? m : m); // expected-warning {{'m' is uninitialized when used within its own init… in test_stuff()
73 …int n = -n; // expected-warning {{variable 'n' is uninitialized when used within its own initiali… in test_stuff()
74 …int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its ow… in test_stuff()
75 …(p); // expected-warning {{variable 'p' is uninitialized when used within its own initialization}} in test_stuff()
76 …q)); // expected-warning {{variable 'q' is uninitialized when used within its own initialization}} in test_stuff()
77 …r))); // expected-warning {{variable 'r' is uninitialized when used within its own initialization}} in test_stuff()
78 …int s = r ?: s; // expected-warning {{variable 's' is uninitialized when used within its own initi… in test_stuff()
79 …int t = t ?: s; // expected-warning {{variable 't' is uninitialized when used within its own initi… in test_stuff()
80 …int u = (foo(u), s); // expected-warning {{variable 'u' is uninitialized when used within its own … in test_stuff()
81 …int v = (u += v); // expected-warning {{variable 'v' is uninitialized when used within its own ini… in test_stuff()
82 …int w = (w += 10); // expected-warning {{variable 'w' is uninitialized when used within its own in… in test_stuff()
83 …int x = x++; // expected-warning {{variable 'x' is uninitialized when used within its own initiali… in test_stuff()
84 …(y)); // expected-warning {{variable 'y' is uninitialized when used within its own initialization}} in test_stuff()
85 … // expected-warning {{variable 'z' is uninitialized when used within its own initialization}} in test_stuff()
86 …10); // expected-warning {{variable 'aa' is uninitialized when used within its own initialization}} in test_stuff()
87 …int bb = bb ? x : y; // expected-warning {{variable 'bb' is uninitialized when used within its own… in test_stuff()
91 …int b = b + 1; // expected-warning {{variable 'b' is uninitialized when used within its own initia… in test_stuff()
92 …int c = (c + c); // expected-warning {{variable 'c' is uninitialized when used within its own init… in test_stuff()
93 …int d = ({ d + d ;}); // expected-warning {{variable 'd' is uninitialized when used within its own… in test_stuff()
94 … + 1; // expected-warning {{variable 'e' is uninitialized when used within its own initialization}} in test_stuff()
95 …int f = foo(f); // expected-warning {{variable 'f' is uninitialized when used within its own initi… in test_stuff()
105 …int l = k ? l : l; // expected-warning {{variable 'l' is uninitialized when used within its own i… in test_stuff()
106 …int m = 1 + (k ? m : m); // expected-warning {{'m' is uninitialized when used within its own init… in test_stuff()
107 …int n = -n; // expected-warning {{variable 'n' is uninitialized when used within its own initiali… in test_stuff()
108 …int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its ow… in test_stuff()
109 …(p); // expected-warning {{variable 'p' is uninitialized when used within its own initialization}} in test_stuff()
110 …q)); // expected-warning {{variable 'q' is uninitialized when used within its own initialization}} in test_stuff()
111 …r))); // expected-warning {{variable 'r' is uninitialized when used within its own initialization}} in test_stuff()
112 …int s = r ?: s; // expected-warning {{variable 's' is uninitialized when used within its own initi… in test_stuff()
113 …int t = t ?: s; // expected-warning {{variable 't' is uninitialized when used within its own initi… in test_stuff()
114 …int u = (foo(u), s); // expected-warning {{variable 'u' is uninitialized when used within its own … in test_stuff()
115 …int v = (u += v); // expected-warning {{variable 'v' is uninitialized when used within its own ini… in test_stuff()
116 …int w = (w += 10); // expected-warning {{variable 'w' is uninitialized when used within its own in… in test_stuff()
117 …int x = x++; // expected-warning {{variable 'x' is uninitialized when used within its own initiali… in test_stuff()
118 …(y)); // expected-warning {{variable 'y' is uninitialized when used within its own initialization}} in test_stuff()
119 … // expected-warning {{variable 'z' is uninitialized when used within its own initialization}} in test_stuff()
120 …10); // expected-warning {{variable 'aa' is uninitialized when used within its own initialization}} in test_stuff()
121 …int bb = bb ? x : y; // expected-warning {{variable 'bb' is uninitialized when used within its own… in test_stuff()
129 …int c = (a, a, b, c); // expected-warning {{variable 'c' is uninitialized when used within its ow… in test_comma()
147 …A a{a.*px}; // expected-warning {{variable 'a' is uninitialized when used within its own initializ… in test_member_ptr()
148 …A b = b; // expected-warning {{variable 'b' is uninitialized when used within its own initializati… in test_member_ptr()
255 …A a11(a11); // expected-warning {{variable 'a11' is uninitialized when used within its own initia… in setupA()
256 …A a12(a12.get()); // expected-warning {{variable 'a12' is uninitialized when used within its own … in setupA()
257 …A a13(a13.num); // expected-warning {{variable 'a13' is uninitialized when used within its own in… in setupA()
258 …A a14 = A(a14); // expected-warning {{variable 'a14' is uninitialized when used within its own in… in setupA()
259 …); // expected-warning {{variable 'a15' is uninitialized when used within its own initialization}} in setupA()
260 …A a16(&a16.num); // expected-warning {{variable 'a16' is uninitialized when used within its own i… in setupA()
261 …A a17(a17.get2()); // expected-warning {{variable 'a17' is uninitialized when used within its own… in setupA()
262 …7; // expected-warning {{variable 'a18' is uninitialized when used within its own initialization}} in setupA()
263 …); // expected-warning {{variable 'a19' is uninitialized when used within its own initialization}} in setupA()
264 …A a20{a20}; // expected-warning {{variable 'a20' is uninitialized when used within its own initia… in setupA()
265 …A a21 = {a21}; // expected-warning {{variable 'a21' is uninitialized when used within its own ini… in setupA()
269 …); // expected-warning {{variable 'a22' is uninitialized when used within its own initialization}} in setupA()
270 …); // expected-warning {{variable 'a23' is uninitialized when used within its own initialization}} in setupA()
271 …); // expected-warning {{variable 'a24' is uninitialized when used within its own initialization}} in setupA()
272 …); // expected-warning {{variable 'a25' is uninitialized when used within its own initialization}} in setupA()
274 … // expected-warning {{variable 'a26' is uninitialized when used within its own initialization}} in setupA()
275 …); // expected-warning {{variable 'a27' is uninitialized when used within its own initialization}} in setupA()
276 …); // expected-warning {{variable 'a28' is uninitialized when used within its own initialization}} in setupA()
278 …const A a29(a29); // expected-warning {{variable 'a29' is uninitialized when used within its own … in setupA()
279 …const A a30 = a30; // expected-warning {{variable 'a30' is uninitialized when used within its own… in setupA()
281 …); // expected-warning {{variable 'a31' is uninitialized when used within its own initialization}} in setupA()
282 …); // expected-warning {{variable 'a32' is uninitialized when used within its own initialization}} in setupA()
283 …; // expected-warning {{variable 'a33' is uninitialized when used within its own initialization}} in setupA()
284 …; // expected-warning {{variable 'a34' is uninitialized when used within its own initialization}} in setupA()
285 …); // expected-warning {{variable 'a35' is uninitialized when used within its own initialization}} in setupA()
290 …A a38({a38}); // expected-warning {{variable 'a38' is uninitialized when used within its own init… in setupA()
291 …A a39 = {a39}; // expected-warning {{variable 'a39' is uninitialized when used within its own ini… in setupA()
292 …A a40 = A({a40}); // expected-warning {{variable 'a40' is uninitialized when used within its own … in setupA()
294 …A a41 = !a41; // expected-warning {{variable 'a41' is uninitialized when used within its own init… in setupA()
295 …A a42 = !(a42); // expected-warning {{variable 'a42' is uninitialized when used within its own in… in setupA()
296 …A a43 = a43 != a42; // expected-warning {{variable 'a43' is uninitialized when used within its ow… in setupA()
297 …A a44 = a43 != a44; // expected-warning {{variable 'a44' is uninitialized when used within its ow… in setupA()
298 …A a45 = a45 != a45; // expected-warning 2{{variable 'a45' is uninitialized when used within its o… in setupA()
299 …A a46 = 0 != a46; // expected-warning {{variable 'a46' is uninitialized when used within its own … in setupA()
301 …; // expected-warning 2{{variable 'a47' is uninitialized when used within its own initialization}} in setupA()
302 …); // expected-warning {{variable 'a48' is uninitialized when used within its own initialization}} in setupA()
319 A a11(a11); // expected-warning {{variable 'a11' is uninitialized when used within its own initial…
320 A a12(a12.get()); // expected-warning {{variable 'a12' is uninitialized when used within its own i…
321 A a13(a13.num); // expected-warning {{variable 'a13' is uninitialized when used within its own ini…
322 A a14 = A(a14); // expected-warning {{variable 'a14' is uninitialized when used within its own ini…
323 A a15 = getA(a15.num); // expected-warning {{variable 'a15' is uninitialized when used within its
324 A a16(&a16.num); // expected-warning {{variable 'a16' is uninitialized when used within its own in…
325 A a17(a17.get2()); // expected-warning {{variable 'a17' is uninitialized when used within its own …
326 …7; // expected-warning {{variable 'a18' is uninitialized when used within its own initialization}}
327 …); // expected-warning {{variable 'a19' is uninitialized when used within its own initialization}}
328 A a20{a20}; // expected-warning {{variable 'a20' is uninitialized when used within its own initial…
329 A a21 = {a21}; // expected-warning {{variable 'a21' is uninitialized when used within its own init…
336 … // expected-warning {{variable 'a26' is uninitialized when used within its own initialization}}
337 …); // expected-warning {{variable 'a27' is uninitialized when used within its own initialization}}
338 …); // expected-warning {{variable 'a28' is uninitialized when used within its own initialization}}
340 const A a29(a29); // expected-warning {{variable 'a29' is uninitialized when used within its own i…
341 const A a30 = a30; // expected-warning {{variable 'a30' is uninitialized when used within its own …
343 A a31 = std::move(a31); // expected-warning {{variable 'a31' is uninitialized when used within its
344 …); // expected-warning {{variable 'a32' is uninitialized when used within its own initialization}}
345 …; // expected-warning {{variable 'a33' is uninitialized when used within its own initialization}}
346 A a34(std::move(a34)); // expected-warning {{variable 'a34' is uninitialized when used within its
347 …); // expected-warning {{variable 'a35' is uninitialized when used within its own initialization}}
352 A a38({a38}); // expected-warning {{variable 'a38' is uninitialized when used within its own initi…
353 A a39 = {a39}; // expected-warning {{variable 'a39' is uninitialized when used within its own init…
354 A a40 = A({a40}); // expected-warning {{variable 'a40' is uninitialized when used within its own i…
356 A a41 = !a41; // expected-warning {{variable 'a41' is uninitialized when used within its own initi…
357 A a42 = !(a42); // expected-warning {{variable 'a42' is uninitialized when used within its own ini…
358 A a43 = a43 != a42; // expected-warning {{variable 'a43' is uninitialized when used within its own…
359 A a44 = a43 != a44; // expected-warning {{variable 'a44' is uninitialized when used within its own…
360 A a45 = a45 != a45; // expected-warning 2{{variable 'a45' is uninitialized when used within its ow…
362 A a46 = 0 != a46; // expected-warning {{variable 'a46' is uninitialized when used within its own i…
364 …; // expected-warning 2{{variable 'a47' is uninitialized when used within its own initialization}}
365 …); // expected-warning {{variable 'a48' is uninitialized when used within its own initialization}}
464 …B b7(b7); // expected-warning {{variable 'b7' is uninitialized when used within its own initializ… in setupB()
465 …B b8 = getB(b8.x); // expected-warning {{variable 'b8' is uninitialized when used within its own … in setupB()
466 …B b9 = getB(b9.y); // expected-warning {{variable 'b9' is uninitialized when used within its own … in setupB()
467 …B b10 = getB(-b10.x); // expected-warning {{variable 'b10' is uninitialized when used within its in setupB()
477 …); // expected-warning {{variable 'b15' is uninitialized when used within its own initialization}} in setupB()
478 …); // expected-warning {{variable 'b16' is uninitialized when used within its own initialization}} in setupB()
481 …; // expected-warning 2{{variable 'b18' is uninitialized when used within its own initialization}} in setupB()
483 …const B b19 = b19; // expected-warning {{variable 'b19' is uninitialized when used within its own… in setupB()
484 …const B b20(b20); // expected-warning {{variable 'b20' is uninitialized when used within its own … in setupB()
486 …); // expected-warning {{variable 'b21' is uninitialized when used within its own initialization}} in setupB()
487 …); // expected-warning {{variable 'b22' is uninitialized when used within its own initialization}} in setupB()
488 …; // expected-warning {{variable 'b23' is uninitialized when used within its own initialization}} in setupB()
489 …); // expected-warning {{variable 'b24' is uninitialized when used within its own initialization}} in setupB()
499 B b7(b7); // expected-warning {{variable 'b7' is uninitialized when used within its own initializa…
500 B b8 = getB(b8.x); // expected-warning {{variable 'b8' is uninitialized when used within its own i…
501 B b9 = getB(b9.y); // expected-warning {{variable 'b9' is uninitialized when used within its own i…
502 B b10 = getB(-b10.x); // expected-warning {{variable 'b10' is uninitialized when used within its o…
509 …); // expected-warning {{variable 'b15' is uninitialized when used within its own initialization}}
510 …); // expected-warning {{variable 'b16' is uninitialized when used within its own initialization}}
513 …; // expected-warning 2{{variable 'b18' is uninitialized when used within its own initialization}}
515 const B b19 = b19; // expected-warning {{variable 'b19' is uninitialized when used within its own …
516 const B b20(b20); // expected-warning {{variable 'b20' is uninitialized when used within its own i…
518 B b21 = std::move(b21); // expected-warning {{variable 'b21' is uninitialized when used within its
519 …); // expected-warning {{variable 'b22' is uninitialized when used within its own initialization}}
520 …; // expected-warning {{variable 'b23' is uninitialized when used within its own initialization}}
521 …); // expected-warning {{variable 'b24' is uninitialized when used within its own initialization}}
702 …static int b = b + 1; // expected-warning {{variable 'b' is uninitialized when used within its own…
703 …static int c = (c + c); // expected-warning 2{{variable 'c' is uninitialized when used within its
704 … + 1; // expected-warning {{variable 'e' is uninitialized when used within its own initialization}}
705 …static int f = foo(f); // expected-warning {{variable 'f' is uninitialized when used within its ow…
716 … l; // expected-warning 2{{variable 'l' is uninitialized when used within its own initialization}}
717 …m); // expected-warning 2{{variable 'm' is uninitialized when used within its own initialization}}
718 …static int n = -n; // expected-warning {{variable 'n' is uninitialized when used within its own i…
719 …e(o); // expected-warning {{variable 'o' is uninitialized when used within its own initialization}}
720 …e(p); // expected-warning {{variable 'p' is uninitialized when used within its own initialization}}
721 …(q)); // expected-warning {{variable 'q' is uninitialized when used within its own initialization}}
722 …r))); // expected-warning {{variable 'r' is uninitialized when used within its own initialization}}
723 …static int s = r ?: s; // expected-warning {{variable 's' is uninitialized when used within its ow…
724 …static int t = t ?: s; // expected-warning {{variable 't' is uninitialized when used within its ow…
725 …, s); // expected-warning {{variable 'u' is uninitialized when used within its own initialization}}
726 …static int v = (u += v); // expected-warning {{variable 'v' is uninitialized when used within its
727 … 10); // expected-warning {{variable 'w' is uninitialized when used within its own initialization}}
728 …static int x = x++; // expected-warning {{variable 'x' is uninitialized when used within its own i…
729 …(y)); // expected-warning {{variable 'y' is uninitialized when used within its own initialization}}
730 …static int z = ++ref(z); // expected-warning {{variable 'z' is uninitialized when used within its
731 …10); // expected-warning {{variable 'aa' is uninitialized when used within its own initialization}}
732 …: y; // expected-warning {{variable 'bb' is uninitialized when used within its own initialization}}
737 …static int b = b + 1; // expected-warning {{static variable 'b' is suspiciously used within its ow… in test()
738 …c); // expected-warning 2{{static variable 'c' is suspiciously used within its own initialization}} in test()
739 …}); // expected-warning 2{{static variable 'd' is suspiciously used within its own initialization}} in test()
740 …+ 1; // expected-warning {{static variable 'e' is suspiciously used within its own initialization}} in test()
741 …(f); // expected-warning {{static variable 'f' is suspiciously used within its own initialization}} in test()
751 …l; // expected-warning 2{{static variable 'l' is suspiciously used within its own initialization}} in test()
752 …); // expected-warning 2{{static variable 'm' is suspiciously used within its own initialization}} in test()
753 …static int n = -n; // expected-warning {{static variable 'n' is suspiciously used within its own … in test()
754 …o); // expected-warning {{static variable 'o' is suspiciously used within its own initialization}} in test()
755 …p); // expected-warning {{static variable 'p' is suspiciously used within its own initialization}} in test()
756 …)); // expected-warning {{static variable 'q' is suspiciously used within its own initialization}} in test()
757 …)); // expected-warning {{static variable 'r' is suspiciously used within its own initialization}} in test()
758 … s; // expected-warning {{static variable 's' is suspiciously used within its own initialization}} in test()
759 … s; // expected-warning {{static variable 't' is suspiciously used within its own initialization}} in test()
760 …s); // expected-warning {{static variable 'u' is suspiciously used within its own initialization}} in test()
761 …v); // expected-warning {{static variable 'v' is suspiciously used within its own initialization}} in test()
762 …0); // expected-warning {{static variable 'w' is suspiciously used within its own initialization}} in test()
763 …static int x = x++; // expected-warning {{static variable 'x' is suspiciously used within its own… in test()
764 …)); // expected-warning {{static variable 'y' is suspiciously used within its own initialization}} in test()
765 …(z); // expected-warning {{static variable 'z' is suspiciously used within its own initialization}} in test()
766 …0); // expected-warning {{static variable 'aa' is suspiciously used within its own initialization}} in test()
767 … y; // expected-warning {{static variable 'bb' is suspiciously used within its own initialization}} in test()
771 …+ 1; // expected-warning {{static variable 'b' is suspiciously used within its own initialization}} in test()
772 …c); // expected-warning 2{{static variable 'c' is suspiciously used within its own initialization}} in test()
773 …}); // expected-warning 2{{static variable 'd' is suspiciously used within its own initialization}} in test()
774 …+ 1; // expected-warning {{static variable 'e' is suspiciously used within its own initialization}} in test()
775 …(f); // expected-warning {{static variable 'f' is suspiciously used within its own initialization}} in test()
785 …l; // expected-warning 2{{static variable 'l' is suspiciously used within its own initialization}} in test()
786 …m); // expected-warning 2{{static variable 'm' is suspiciously used within its own initialization}} in test()
787 …static int n = -n; // expected-warning {{static variable 'n' is suspiciously used within its own … in test()
788 …o); // expected-warning {{static variable 'o' is suspiciously used within its own initialization}} in test()
789 …p); // expected-warning {{static variable 'p' is suspiciously used within its own initialization}} in test()
790 …)); // expected-warning {{static variable 'q' is suspiciously used within its own initialization}} in test()
791 …)); // expected-warning {{static variable 'r' is suspiciously used within its own initialization}} in test()
792 … s; // expected-warning {{static variable 's' is suspiciously used within its own initialization}} in test()
793 … s; // expected-warning {{static variable 't' is suspiciously used within its own initialization}} in test()
794 …s); // expected-warning {{static variable 'u' is suspiciously used within its own initialization}} in test()
795 …v); // expected-warning {{static variable 'v' is suspiciously used within its own initialization}} in test()
796 …0); // expected-warning {{static variable 'w' is suspiciously used within its own initialization}} in test()
797 …++; // expected-warning {{static variable 'x' is suspiciously used within its own initialization}} in test()
798 …)); // expected-warning {{static variable 'y' is suspiciously used within its own initialization}} in test()
799 …(z); // expected-warning {{static variable 'z' is suspiciously used within its own initialization}} in test()
800 …0); // expected-warning {{static variable 'aa' is suspiciously used within its own initialization}} in test()
801 … y; // expected-warning {{static variable 'bb' is suspiciously used within its own initialization}} in test()
826 …int &a = a; // expected-warning{{reference 'a' is not yet bound to a value when used within its ow…
827 …int &b(b); // expected-warning{{reference 'b' is not yet bound to a value when used within its own…
828 …pected-warning{{reference 'c' is not yet bound to a value when used within its own initialization}}
829 …int &d{d}; // expected-warning{{reference 'd' is not yet bound to a value when used within its own…
830 …pected-warning{{reference 'e' is not yet bound to a value when used within its own initialization}}
831 …pected-warning{{reference 'f' is not yet bound to a value when used within its own initialization}}
836 …pected-warning{{reference 'g' is not yet bound to a value when used within its own initialization}}
837 …pected-warning{{reference 'h' is not yet bound to a value when used within its own initialization}}
845 …int &a = a; // expected-warning{{reference 'a' is not yet bound to a value when used within its ow… in test()
846 …int &b(b); // expected-warning{{reference 'b' is not yet bound to a value when used within its own… in test()
847 …pected-warning{{reference 'c' is not yet bound to a value when used within its own initialization}} in test()
848 …int &d{d}; // expected-warning{{reference 'd' is not yet bound to a value when used within its own… in test()
874 …A a1 = a1 = makeA(); // expected-warning{{variable 'a1' is uninitialized when used within its own…
875 …A a2 = a2 == a1; // expected-warning{{variable 'a2' is uninitialized when used within its own ini…
876 …A a3 = a2 == a3; // expected-warning{{variable 'a3' is uninitialized when used within its own ini…
888 …; }); // expected-warning{{variable 'a1' is uninitialized when used within its own initialization}} in f()