mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +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:
@ -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(),
|
||||
|
Reference in New Issue
Block a user