summaryrefslogtreecommitdiff
path: root/unittests/Frontend
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2018-06-06 08:25:54 +0000
committerIvan Donchevskii <ivan.donchevskii@qt.io>2018-06-06 08:25:54 +0000
commit3cab9725c69c7c7771a4aed5f3e17954702309f3 (patch)
tree083fcfa12cc0b375b8ef63719b5559dd36afe950 /unittests/Frontend
parent52d10dc5c2eaad79a44e4f724173be9d4a9a4e04 (diff)
downloadclang-3cab9725c69c7c7771a4aed5f3e17954702309f3.tar.gz
Fix build - use llvm::make_unique
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@334072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Frontend')
-rw-r--r--unittests/Frontend/ASTUnitTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Frontend/ASTUnitTest.cpp b/unittests/Frontend/ASTUnitTest.cpp
index 5296fc51f8..c60004e40b 100644
--- a/unittests/Frontend/ASTUnitTest.cpp
+++ b/unittests/Frontend/ASTUnitTest.cpp
@@ -35,7 +35,7 @@ protected:
std::unique_ptr<ASTUnit> createASTUnit(bool isVolatile) {
EXPECT_FALSE(llvm::sys::fs::createTemporaryFile("ast-unit", "cpp", FD,
InputFileName));
- input_file = std::make_unique<ToolOutputFile>(InputFileName, FD);
+ input_file = llvm::make_unique<ToolOutputFile>(InputFileName, FD);
input_file->os() << "";
const char *Args[] = {"clang", "-xc++", InputFileName.c_str()};