summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-02 04:08:41 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-02 04:08:41 +0000
commit002da5db2912dcc4c7f88402a6d8c5901f25d2fd (patch)
tree5f8738f0382b3565bf41070b8ebaf202c667d6a1 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parentc72d9b33aff335f676a34de47a2aa336207b917f (diff)
downloadbcm5719-llvm-002da5db2912dcc4c7f88402a6d8c5901f25d2fd.tar.gz
bcm5719-llvm-002da5db2912dcc4c7f88402a6d8c5901f25d2fd.zip
[C++11] Switch all uses of the llvm_move macro to use std::move
directly, and remove the macro. llvm-svn: 202612
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 2eff17176b8..aeb2e526220 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -470,11 +470,11 @@ void DwarfDebug::addScopeRangeList(DwarfCompileUnit *TheCU, DIE *ScopeDIE,
RI != RE; ++RI) {
RangeSpan Span(getLabelBeforeInsn(RI->first),
getLabelAfterInsn(RI->second));
- List.addRange(llvm_move(Span));
+ List.addRange(std::move(Span));
}
// Add the range list to the set of ranges to be emitted.
- TheCU->addRangeList(llvm_move(List));
+ TheCU->addRangeList(std::move(List));
}
// Construct new DW_TAG_lexical_block for this scope and attach
@@ -1800,7 +1800,7 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
// Add the range of this function to the list of ranges for the CU.
RangeSpan Span(FunctionBeginSym, FunctionEndSym);
- TheCU->addRange(llvm_move(Span));
+ TheCU->addRange(std::move(Span));
// Clear debug info
for (ScopeVariablesMap::iterator I = ScopeVariables.begin(),
OpenPOWER on IntegriCloud