summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-08-16 17:19:57 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-08-16 17:19:57 +0000
commit7e106445efddf4bc2f4c2cb0c798f51c6773def0 (patch)
tree5ade72cc9cfc3ab292ff7402fc9d810e51ad0900 /llvm/unittests
parentea0ace75e03466d3ee32433828ecb8a780cb5925 (diff)
downloadbcm5719-llvm-7e106445efddf4bc2f4c2cb0c798f51c6773def0.tar.gz
bcm5719-llvm-7e106445efddf4bc2f4c2cb0c798f51c6773def0.zip
[ADT] Remove llvm::make_unique utility.
All uses of llvm::make_unique should have been replaced with std::make_unique. This patch represents the last part of the migration and removes the utility from LLVM. Differential revision: https://reviews.llvm.org/D66259 llvm-svn: 369130
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/ADT/IteratorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ADT/IteratorTest.cpp b/llvm/unittests/ADT/IteratorTest.cpp
index 2f5abb64e7d..73fd15e90e9 100644
--- a/llvm/unittests/ADT/IteratorTest.cpp
+++ b/llvm/unittests/ADT/IteratorTest.cpp
@@ -209,7 +209,7 @@ TEST(FilterIteratorTest, FunctionPointer) {
TEST(FilterIteratorTest, Composition) {
auto IsOdd = [](int N) { return N % 2 == 1; };
- std::unique_ptr<int> A[] = {make_unique<int>(0), std::make_unique<int>(1),
+ std::unique_ptr<int> A[] = {std::make_unique<int>(0), std::make_unique<int>(1),
std::make_unique<int>(2), std::make_unique<int>(3),
std::make_unique<int>(4), std::make_unique<int>(5),
std::make_unique<int>(6)};
OpenPOWER on IntegriCloud