[lldb] Surpress copy-elison warning.

llvm-svn: 344252
This commit is contained in:
Eric Liu 2018-10-11 14:52:33 +00:00
parent 54f60255a2
commit 75f8c16e48
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ static std::unique_ptr<PDBFile> loadPDBFile(std::string PdbPath,
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, llvm::BumpPtrAllocator &allocator) {
if (expected_info->getGuid() != guid)
return nullptr;
return std::move(pdb);
return pdb;
}
static bool IsFunctionPrologue(const CompilandIndexItem &cci,