[LLDB] Migrate llvm::make_unique to std::make_unique

Now that we've moved to C++14, we no longer need the llvm::make_unique
implementation from STLExtras.h. This patch is a mechanical replacement
of (hopefully) all the llvm::make_unique instances across the monorepo.

Differential revision: https://reviews.llvm.org/D66259

llvm-svn: 368933
This commit is contained in:
Jonas Devlieghere
2019-08-14 22:19:23 +00:00
parent 1737f71322
commit a8f3ae7c9c
63 changed files with 110 additions and 110 deletions

View File

@@ -874,7 +874,7 @@ ObjectFile *ObjectFileMachO::CreateInstance(const lldb::ModuleSP &module_sp,
return nullptr;
data_offset = 0;
}
auto objfile_up = llvm::make_unique<ObjectFileMachO>(
auto objfile_up = std::make_unique<ObjectFileMachO>(
module_sp, data_sp, data_offset, file, file_offset, length);
if (!objfile_up || !objfile_up->ParseHeader())
return nullptr;