]> granicus.if.org Git - clang/commitdiff
Add std::move in RefactoringActionRulesTest.cpp
authorAlex Lorenz <arphaman@gmail.com>
Mon, 2 Oct 2017 19:02:42 +0000 (19:02 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 2 Oct 2017 19:02:42 +0000 (19:02 +0000)
Should fix http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314708 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Tooling/RefactoringActionRulesTest.cpp

index afab34ef10113c5341606e11459b9bbd4822dd20..ffd54cc33e6eb8851f022b5954b4b5f6c7141e02 100644 (file)
@@ -196,7 +196,7 @@ TEST_F(RefactoringActionRulesTest, ReturnSymbolOccurrences) {
       Occurrences.push_back(SymbolOccurrence(SymbolName("test"),
                                              SymbolOccurrence::MatchingSymbol,
                                              Selection.getBegin()));
-      return Occurrences;
+      return std::move(Occurrences);
     }
   };