mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 20:26:07 +00:00
[C++11] Switch all uses of the llvm_move macro to use std::move
directly, and remove the macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user