aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-08-14 22:19:23 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-08-14 22:19:23 +0000
commita8f3ae7c9cefa8296d119f92ca444087cdccf712 (patch)
tree8bef9bbcd46822f1697895ff3e8da25d0cda1bc9 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent1737f71322e3d440dcee74ef06640ad01945f3b9 (diff)
downloadllvm-a8f3ae7c9cefa8296d119f92ca444087cdccf712.zip
llvm-a8f3ae7c9cefa8296d119f92ca444087cdccf712.tar.gz
llvm-a8f3ae7c9cefa8296d119f92ca444087cdccf712.tar.bz2
[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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 3c1c66d..098e833 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -179,7 +179,7 @@ public:
FileSpec history_file = GetRoot().CopyByAppendingPathComponent(Info::file);
std::error_code EC;
- m_stream_up = llvm::make_unique<raw_fd_ostream>(
+ m_stream_up = std::make_unique<raw_fd_ostream>(
history_file.GetPath(), EC, sys::fs::OpenFlags::OF_Text);
return m_stream_up.get();
}