[llvm] r332766 - Addressing a couple of compiler warnings introduced with r332759.
Wolfgang Pieb via llvm-commits
llvm-commits at lists.llvm.org
Fri May 18 13:51:17 PDT 2018
Author: wolfgangp
Date: Fri May 18 13:51:16 2018
New Revision: 332766
URL: http://llvm.org/viewvc/llvm-project?rev=332766&view=rev
Log:
Addressing a couple of compiler warnings introduced with r332759.
Modified:
llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp?rev=332766&r1=332765&r2=332766&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp Fri May 18 13:51:16 2018
@@ -322,7 +322,7 @@ size_t DWARFUnit::extractDIEsIfNeeded(bo
RngListTable = TableOrError.get();
else
WithColor::error() << "parsing a range list table: "
- << toString(std::move(TableOrError.takeError()))
+ << toString(TableOrError.takeError())
<< '\n';
// In a split dwarf unit, there is no DW_AT_rnglists_base attribute.
@@ -377,7 +377,7 @@ bool DWARFUnit::parseDWO() {
DWO->RngListTable = TableOrError.get();
else
WithColor::error() << "parsing a range list table: "
- << toString(std::move(TableOrError.takeError()))
+ << toString(TableOrError.takeError())
<< '\n';
if (DWO->RngListTable)
DWO->RangeSectionBase = DWO->RngListTable->getHeaderSize();
More information about the llvm-commits
mailing list