mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
[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:
1 parent
1737f71322
commit
a8f3ae7c9c
63 files changed
+110
-110
No files matched your search
@@ -159,7 +159,7 @@ public:
|
||||
{
|
||||
if (!m_commands.empty())
|
||||
{
|
||||
auto cmd_data = llvm::make_unique<BreakpointOptions::CommandData>();
|
||||
auto cmd_data = std::make_unique<BreakpointOptions::CommandData>();
|
||||
|
||||
for (std::string &str : m_commands)
|
||||
cmd_data->user_source.AppendString(str);
|
||||
|
||||
Reference in new issue
Block a user