diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-14 22:19:23 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-14 22:19:23 +0000 |
commit | a8f3ae7c9cefa8296d119f92ca444087cdccf712 (patch) | |
tree | 8bef9bbcd46822f1697895ff3e8da25d0cda1bc9 /lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp | |
parent | 1737f71322e3d440dcee74ef06640ad01945f3b9 (diff) | |
download | bcm5719-llvm-a8f3ae7c9cefa8296d119f92ca444087cdccf712.tar.gz bcm5719-llvm-a8f3ae7c9cefa8296d119f92ca444087cdccf712.zip |
[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/unittests/tools/lldb-server/tests/MessageObjects.cpp')
-rw-r--r-- | lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp b/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp index de4c46b32b4..e4f1a92f46a 100644 --- a/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp +++ b/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp @@ -319,7 +319,7 @@ StopReplyStop::create(StringRef Response, support::endianness Endian, if (!RegistersOr) return RegistersOr.takeError(); - return llvm::make_unique<StopReplyStop>(Signal, Thread, Name, + return std::make_unique<StopReplyStop>(Signal, Thread, Name, std::move(ThreadPcs), std::move(*RegistersOr), Reason); } @@ -329,7 +329,7 @@ StopReplyExit::create(StringRef Response) { uint8_t Status; if (!to_integer(Response, Status, 16)) return make_parsing_error("StopReply: exit status"); - return llvm::make_unique<StopReplyExit>(Status); + return std::make_unique<StopReplyExit>(Status); } //====== Globals =============================================================== |