r314708 - Add std::move in RefactoringActionRulesTest.cpp
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 2 12:02:42 PDT 2017
Author: arphaman
Date: Mon Oct 2 12:02:42 2017
New Revision: 314708
URL: http://llvm.org/viewvc/llvm-project?rev=314708&view=rev
Log:
Add std::move in RefactoringActionRulesTest.cpp
Should fix http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental
Modified:
cfe/trunk/unittests/Tooling/RefactoringActionRulesTest.cpp
Modified: cfe/trunk/unittests/Tooling/RefactoringActionRulesTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Tooling/RefactoringActionRulesTest.cpp?rev=314708&r1=314707&r2=314708&view=diff
==============================================================================
--- cfe/trunk/unittests/Tooling/RefactoringActionRulesTest.cpp (original)
+++ cfe/trunk/unittests/Tooling/RefactoringActionRulesTest.cpp Mon Oct 2 12:02:42 2017
@@ -196,7 +196,7 @@ TEST_F(RefactoringActionRulesTest, Retur
Occurrences.push_back(SymbolOccurrence(SymbolName("test"),
SymbolOccurrence::MatchingSymbol,
Selection.getBegin()));
- return Occurrences;
+ return std::move(Occurrences);
}
};
More information about the cfe-commits
mailing list