From 002da5db2912dcc4c7f88402a6d8c5901f25d2fd Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sun, 2 Mar 2014 04:08:41 +0000 Subject: [C++11] Switch all uses of the llvm_move macro to use std::move directly, and remove the macro. llvm-svn: 202612 --- llvm/lib/IR/PassManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/IR/PassManager.cpp') diff --git a/llvm/lib/IR/PassManager.cpp b/llvm/lib/IR/PassManager.cpp index dbc27cbc504..d6699f44f8a 100644 --- a/llvm/lib/IR/PassManager.cpp +++ b/llvm/lib/IR/PassManager.cpp @@ -31,7 +31,7 @@ PreservedAnalyses ModulePassManager::run(Module *M, ModuleAnalysisManager *AM) { PreservedAnalyses PassPA = Passes[Idx]->run(M, AM); if (AM) AM->invalidate(M, PassPA); - PA.intersect(llvm_move(PassPA)); + PA.intersect(std::move(PassPA)); } if (DebugPM) @@ -89,7 +89,7 @@ PreservedAnalyses FunctionPassManager::run(Function *F, FunctionAnalysisManager PreservedAnalyses PassPA = Passes[Idx]->run(F, AM); if (AM) AM->invalidate(F, PassPA); - PA.intersect(llvm_move(PassPA)); + PA.intersect(std::move(PassPA)); } if (DebugPM) -- cgit v1.2.3