summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling/RefactoringActionRulesTest.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-10-02 19:02:42 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-10-02 19:02:42 +0000
commit4796e72bf825d35a73c4572cef129f0c88b21be8 (patch)
tree955bdef6dcb5566c6f49b63ff67d0a7950feba1f /clang/unittests/Tooling/RefactoringActionRulesTest.cpp
parent6aeea183efcfed2bd177014c955c51e216e8c4dc (diff)
downloadbcm5719-llvm-4796e72bf825d35a73c4572cef129f0c88b21be8.tar.gz
bcm5719-llvm-4796e72bf825d35a73c4572cef129f0c88b21be8.zip
Add std::move in RefactoringActionRulesTest.cpp
Should fix http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental llvm-svn: 314708
Diffstat (limited to 'clang/unittests/Tooling/RefactoringActionRulesTest.cpp')
-rw-r--r--clang/unittests/Tooling/RefactoringActionRulesTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Tooling/RefactoringActionRulesTest.cpp b/clang/unittests/Tooling/RefactoringActionRulesTest.cpp
index afab34ef101..ffd54cc33e6 100644
--- a/clang/unittests/Tooling/RefactoringActionRulesTest.cpp
+++ b/clang/unittests/Tooling/RefactoringActionRulesTest.cpp
@@ -196,7 +196,7 @@ TEST_F(RefactoringActionRulesTest, ReturnSymbolOccurrences) {
Occurrences.push_back(SymbolOccurrence(SymbolName("test"),
SymbolOccurrence::MatchingSymbol,
Selection.getBegin()));
- return Occurrences;
+ return std::move(Occurrences);
}
};
OpenPOWER on IntegriCloud