[Lldb-commits] [lldb] r344252 - [lldb] Surpress copy-elison warning.
Eric Liu via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 11 07:52:33 PDT 2018
Author: ioeric
Date: Thu Oct 11 07:52:33 2018
New Revision: 344252
URL: http://llvm.org/viewvc/llvm-project?rev=344252&view=rev
Log:
[lldb] Surpress copy-elison warning.
Modified:
lldb/trunk/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
Modified: lldb/trunk/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp?rev=344252&r1=344251&r2=344252&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp Thu Oct 11 07:52:33 2018
@@ -75,7 +75,7 @@ static std::unique_ptr<PDBFile> loadPDBF
if (auto EC = File->parseStreamData())
return nullptr;
- return std::move(File);
+ return File;
}
static std::unique_ptr<PDBFile>
@@ -119,7 +119,7 @@ loadMatchingPDBFile(std::string exe_path
if (expected_info->getGuid() != guid)
return nullptr;
- return std::move(pdb);
+ return pdb;
}
static bool IsFunctionPrologue(const CompilandIndexItem &cci,
More information about the lldb-commits
mailing list