Lines Matching refs:move

90     moveconstruct(std::move(*a));  in A()
93 …A(A &&other) : i(other.i), d(other.d), b(std::move(other.b)) { // aggressive-note{{Object 'b' is m… in A()
96 moveconstruct(std::move(other)); in A()
105 moveconstruct(std::move(other)); in operator =()
122 A b = std::move(a); in testUpdateField()
128 A b = std::move(a); in testUpdateFieldDouble()
137 A b = std::move(a); in moveInsideFunctionCall()
156 A b = std::move(a); // peaceful-note {{Object 'a' is moved}} in simpleMoveCtorTest()
175 A b = std::move(a); // peaceful-note {{Object 'a' is moved}} in simpleMoveCtorTest()
181 A b = std::move(a); // peaceful-note {{Object 'a' is moved}} in simpleMoveCtorTest()
182 b = std::move(a); // peaceful-warning {{Moved-from object 'a' is moved}} in simpleMoveCtorTest()
191 b = std::move(a); // peaceful-note {{Object 'a' is moved}} in simpleMoveAssignementTest()
198 b = std::move(a); // peaceful-note {{Object 'a' is moved}} in simpleMoveAssignementTest()
205 b = std::move(a); // peaceful-note {{Object 'a' is moved}} in simpleMoveAssignementTest()
206 A c(std::move(a)); // peaceful-warning {{Moved-from object 'a' is moved}} in simpleMoveAssignementTest()
216 S s{std::move(a)}; // peaceful-note {{Object 'a' is moved}} in moveInInitListTest()
226 b = std::move(a); in reinitializationTest()
235 b = std::move(a); in reinitializationTest()
247 std::move(a); in reinitializationTest()
266 b = std::move(a); in reinitializationTest()
268 b = std::move(a); // peaceful-note {{Object 'a' is moved}} in reinitializationTest()
276 b = std::move(a); // peaceful-note {{Object 'a' is moved}} in reinitializationTest()
301 rightRefCall(std::move(a)); // no-warning in loopTest()
309 rightRefCall(std::move(a)); // no-warning in loopTest()
372 constCopyOrMoveCall(std::move(a)); // peaceful-note {{Object 'a' is moved}} in loopTest()
385 b = std::move(a); // no-warning in loopTest()
396 b = std::move(a); // peaceful-note {{Object 'a' is moved}} in uniqueTest()
412 A a1 = std::move(a); // peaceful-note {{Object 'a' is moved}} in uniqueTest2()
416 A a2 = std::move(a); // no-warning in uniqueTest2()
424 A b = std::move(a); // peaceful-note {{Object 'a' is moved}} in moveSafeFunctionsTest()
436 A b = std::move(a); in moveStateResetFunctionsTest()
444 A b = std::move(a); in moveStateResetFunctionsTest()
450 A b = std::move(a); in moveStateResetFunctionsTest()
457 A b = std::move(a); in moveStateResetFunctionsTest()
464 A b = std::move(a); in moveStateResetFunctionsTest()
486 ClassTemplate<sizeof(A(std::move(a)))>().foo(std::move(a)); // no-warning in templateArgIsNotUseTest()
490 functionTemplate<sizeof(A(std::move(a)))>(std::move(a)); // no-warning in templateArgIsNotUseTest()
497 std::move(global_a); in globalVariablesTest()
508 b = std::move(a); // aggressive-note {{Object 'a' is moved}} in f()
513 b = std::move(static_a); // aggressive-note {{Object 'static_a' is moved}} in f()
522 Arr[2] = std::move(*Ptr); // aggressive-note{{Object is moved}} in PtrAndArrayTest()
527 Arr[3] = std::move(Arr[1]); // aggressive-note {{Object is moved}} in PtrAndArrayTest()
531 Arr[3] = std::move(Arr[2]); // aggressive-note{{Object is moved}} in PtrAndArrayTest()
535 Arr[2] = std::move(Arr[3]); // reinitialization in PtrAndArrayTest()
543 b = std::move(a); in exclusiveConditionsTest()
557 b = std::move(a); in differentBranchesTest()
565 i > 0 ? (void)(b = std::move(a)) : a.bar(); // no-warning in differentBranchesTest()
572 a.foo() > 0 ? a.foo() : A(std::move(a)).foo(); in differentBranchesTest()
586 b = std::move(a); // no-warning in differentBranchesTest()
599 b = std::move(a); // peaceful-note {{Object 'a' is moved}} in differentBranchesTest()
624 b = std::move(a); // peaceful-note {{Object 'a' is moved}} in interFunTest2()
633 foobar(std::move(a), a.getI()); // peaceful-note {{Object 'a' is moved}} in paramEvaluateOrderTest()
638 foobar(a.getI(), std::move(a)); //no-warning in paramEvaluateOrderTest()
651 b = std::move(a); in regionAndPointerEscapeTest()
658 b = std::move(a); // peaceful-note{{Object 'a' is moved}} in regionAndPointerEscapeTest()
666 b = std::move(a); in regionAndPointerEscapeTest()
667 not_known_pass_by_rvalue_ref(std::move(a)); in regionAndPointerEscapeTest()
673 b = std::move(a); in regionAndPointerEscapeTest()
680 b = std::move(a); // peaceful-note {{Object 'a' is moved}} in regionAndPointerEscapeTest()
692 A a1 = a, a2 = std::move(a); // no-warning in declarationSequenceTest()
696 A a1 = std::move(a), a2 = a; // peaceful-note {{Object 'a' is moved}} in declarationSequenceTest()
706 …if (a.foo() > 0 && A(std::move(a)).foo() > 0) { // peaceful-note {{Assuming the condition is fa… in logicalOperatorsSequenceTest()
720 …if (!(a.foo() > 0 && A(std::move(a)).foo() > 0)) { // peaceful-note {{Assuming the condition is… in logicalOperatorsSequenceTest()
732 if (A(std::move(a)).foo() > 0 && a.foo() > 0) { // peaceful-note {{Object 'a' is moved}} in logicalOperatorsSequenceTest()
746 …if (a.foo() > 0 || A(std::move(a)).foo() > 0) { // peaceful-note {{Assuming the condition is tr… in logicalOperatorsSequenceTest()
754 if (A(std::move(a)).foo() > 0 || a.foo() > 0) { // peaceful-note {{Object 'a' is moved}} in logicalOperatorsSequenceTest()
769 b = std::move(a); // no-warning in forRangeSequencesTest()
780 b = std::move(a); // no-warning in ifStmtSequencesDeclAndConditionTest()
792 B b = std::move(a.b); // aggressive-note {{Object 'b' is moved}} in subRegionMoveTest()
798 A a1 = std::move(a); // aggressive-note {{Calling move constructor for 'A'}} in subRegionMoveTest()
806 A a1 = std::move(a); // peaceful-note {{Object 'a' is moved}} in subRegionMoveTest()
813 C c1 = std::move(c); // peaceful-note {{Object 'c' is moved}} in subRegionMoveTest()
822 C c1 = std::move(c); in resetSuperClass()
829 C c1 = std::move(c); in resetSuperClass2()
836 C c1 = std::move(c); // peaceful-note {{Object 'c' is moved}} in reportSuperClass()
860 Empty f = std::move(e); // no-warning in checkLoopZombies()
869 Empty f = std::move(e); // no-warning in checkMoreLoopZombies1()
880 Empty f = std::move(e); // no-warning in checkMoreLoopZombies2()
890 Empty f = std::move(e); // no-warning in checkMoreLoopZombies3()
899 Empty f = std::move(e); // no-warning in checkMoreLoopZombies4()
920 …std::vector<int> W = std::move(V); // expected-note {{Object 'V' of type 'std::vector' is left in … in testVector()
928 std::unique_ptr<int> Q = std::move(P); // aggressive-note {{Object 'P' is moved}} in testUniquePtr()
945 A b = std::move(a); // peaceful-note {{Object 'a' is moved}} in localRValueMove()
953 std::unique_ptr<int> Q = std::move(P); // peaceful-note {{Object 'P' is moved}} in localUniquePtr()
959 …std::unique_ptr<A> Q = std::move(P); // expected-note{{Smart pointer 'P' of type 'std::unique_ptr'… in localUniquePtrWithArrow()
965 std::unique_ptr<A> Q = std::move(P); // peaceful-note {{Object 'P' is moved}} in getAfterMove()
986 std::packaged_task<int(void)> Task2 = std::move(Task); in test()
988 std::packaged_task<int(void)> Task3 = std::move(Task); in test()