• Home
  • Raw
  • Download

Lines Matching refs:move

10 template <class T> typename remove_reference<T>::type&& move(T&& t);
40 int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its own …
41 const int p = std::move(p); // expected-warning {{variable 'p' is uninitialized when used within it…
42 int q = moved(std::move(q)); // expected-warning {{variable 'q' is uninitialized when used within i…
43 int r = std::move((p ? q : (18, r))); // expected-warning {{variable 'r' is uninitialized when used…
74 …int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its ow… in test_stuff()
75 …const int p = std::move(p); // expected-warning {{variable 'p' is uninitialized when used within … in test_stuff()
76 …int q = moved(std::move(q)); // expected-warning {{variable 'q' is uninitialized when used within… in test_stuff()
77 …int r = std::move((p ? q : (18, r))); // expected-warning {{variable 'r' is uninitialized when use… in test_stuff()
108 …int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its ow… in test_stuff()
109 …const int p = std::move(p); // expected-warning {{variable 'p' is uninitialized when used within … in test_stuff()
110 …int q = moved(std::move(q)); // expected-warning {{variable 'q' is uninitialized when used within… in test_stuff()
111 …int r = std::move((p ? q : (18, r))); // expected-warning {{variable 'r' is uninitialized when use… in test_stuff()
194 …S(int (*)[4]) : x(std::move(x)) {} // expected-warning {{field 'x' is uninitialized when used here… in S()
195 …S(int (*)[5]) : z(std::move(z)) {} // expected-warning {{field 'z' is uninitialized when used here… in S()
196 …S(int (*)[6]) : x(moved(std::move(x))) {} // expected-warning {{field 'x' is uninitialized when us… in S()
197 …S(int (*)[7]) : x(0), y(std::move((x ? x : (18, y)))) {} // expected-warning {{field 'y' is uninit… in S()
281 …A a31 = std::move(a31); // expected-warning {{variable 'a31' is uninitialized when used within it… in setupA()
282 …A a32 = moveA(std::move(a32)); // expected-warning {{variable 'a32' is uninitialized when used wi… in setupA()
283 …A a33 = A(std::move(a33)); // expected-warning {{variable 'a33' is uninitialized when used withi… in setupA()
284 …A a34(std::move(a34)); // expected-warning {{variable 'a34' is uninitialized when used within it… in setupA()
285 …A a35 = std::move(x ? a34 : (37, a35)); // expected-warning {{variable 'a35' is uninitialized whe… in setupA()
343 A a31 = std::move(a31); // expected-warning {{variable 'a31' is uninitialized when used within its…
344 A a32 = moveA(std::move(a32)); // expected-warning {{variable 'a32' is uninitialized when used wit…
345 A a33 = A(std::move(a33)); // expected-warning {{variable 'a33' is uninitialized when used within…
346 A a34(std::move(a34)); // expected-warning {{variable 'a34' is uninitialized when used within its…
347 A a35 = std::move(x ? a34 : (37, a35)); // expected-warning {{variable 'a35' is uninitialized when…
409 …T(bool (*)[31]) : a(std::move(a)) {} // expected-warning {{field 'a' is uninitialized when used h… in T()
410 …T(bool (*)[32]) : a(moveA(std::move(a))) {} // expected-warning {{field 'a' is uninitialized when… in T()
411 …T(bool (*)[33]) : a(A(std::move(a))) {} // expected-warning {{field 'a' is uninitialized when use… in T()
412 …T(bool (*)[34]) : a(A(std::move(a))) {} // expected-warning {{field 'a' is uninitialized when use… in T()
413 …T(bool (*)[35]) : a2(std::move(x ? a : (37, a2))) {} // expected-warning {{field 'a2' is uninitia… in T()
486 …B b21 = std::move(b21); // expected-warning {{variable 'b21' is uninitialized when used within it… in setupB()
487 …B b22 = moveB(std::move(b22)); // expected-warning {{variable 'b22' is uninitialized when used wi… in setupB()
488 …B b23 = B(std::move(b23)); // expected-warning {{variable 'b23' is uninitialized when used withi… in setupB()
489 …B b24 = std::move(x ? b23 : (18, b24)); // expected-warning {{variable 'b24' is uninitialized whe… in setupB()
518 B b21 = std::move(b21); // expected-warning {{variable 'b21' is uninitialized when used within its…
519 B b22 = moveB(std::move(b22)); // expected-warning {{variable 'b22' is uninitialized when used wit…
520 B b23 = B(std::move(b23)); // expected-warning {{variable 'b23' is uninitialized when used within…
521 B b24 = std::move(x ? b23 : (18, b24)); // expected-warning {{variable 'b24' is uninitialized when…
555 …U(bool (*)[21]) : b1(std::move(b1)) {} // expected-warning {{field 'b1' is uninitialized when use… in U()
556 …U(bool (*)[22]) : b1(moveB(std::move(b1))) {} // expected-warning {{field 'b1' is uninitialized w… in U()
557 …U(bool (*)[23]) : b1(B(std::move(b1))) {} // expected-warning {{field 'b1' is uninitialized when … in U()
558 …U(bool (*)[24]) : b2(std::move(x ? b1 : (18, b2))) {} // expected-warning {{field 'b2' is uniniti… in U()
719 …static int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within …
720 …static const int p = std::move(p); // expected-warning {{variable 'p' is uninitialized when used w…
721 …static int q = moved(std::move(q)); // expected-warning {{variable 'q' is uninitialized when used …
722 …static int r = std::move((p ? q : (18, r))); // expected-warning {{variable 'r' is uninitialized w…
754 …static int o = std::move(o); // expected-warning {{static variable 'o' is suspiciously used withi… in test()
755 …static const int p = std::move(p); // expected-warning {{static variable 'p' is suspiciously used… in test()
756 …static int q = moved(std::move(q)); // expected-warning {{static variable 'q' is suspiciously use… in test()
757 …static int r = std::move((p ? q : (18, r))); // expected-warning {{static variable 'r' is suspici… in test()
788 …static int o = std::move(o); // expected-warning {{static variable 'o' is suspiciously used withi… in test()
789 …static const int p = std::move(p); // expected-warning {{static variable 'p' is suspiciously used… in test()
790 …static int q = moved(std::move(q)); // expected-warning {{static variable 'q' is suspiciously use… in test()
791 …static int r = std::move((p ? q : (18, r))); // expected-warning {{static variable 'r' is suspici… in test()
920 B(char (*)[10]) : a(std::move(a)) {} // expected-warning {{uninitialized}} in B()
921 B(char (*)[11]) : a(A(std::move(a))) {} // expected-warning {{uninitialized}} in B()
922 B(char (*)[12]) : a(rref(std::move(a))) {} // expected-warning {{uninitialized}} in B()
923 B(char (*)[13]) : a(std::move(x ? a : (25, a))) {} // expected-warning 2{{uninitialized}} in B()
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}}
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}}
970 A a11 = std::move(a11);
971 A a12 = A(std::move(a12));
972 A a13 = rref(std::move(a13));
973 A a14 = std::move(x ? a13 : (22, a14));
1389 template <class T> T move(T t);
1393 template <class T> T move(T& t);
1397 template <class T> T move(T&& t);
1402 int a1 = std::move(a1); // expected-warning {{uninitialized}}
1403 int a2 = value::move(a2); // expected-warning {{uninitialized}}
1405 int a4 = lvalueref::move(a4);
1407 int a6 = rvalueref::move(a6);
1411 int a1 = std::move(a1); // expected-warning {{uninitialized}} in test()
1412 int a2 = value::move(a2); // expected-warning {{uninitialized}} in test()
1414 int a4 = lvalueref::move(a4); in test()
1416 int a6 = rvalueref::move(a6); in test()
1422 A(int (*) [1]) : a(std::move(a)) {} // expected-warning {{uninitialized}} in A()
1423 A(int (*) [2]) : a(value::move(a)) {} // expected-warning {{uninitialized}} in A()
1425 A(int (*) [4]) : a(lvalueref::move(a)) {} in A()
1427 A(int (*) [6]) : a(rvalueref::move(a)) {} in A()