summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Frontend/ASTUnitTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Frontend/ASTUnitTest.cpp')
-rw-r--r--clang/unittests/Frontend/ASTUnitTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Frontend/ASTUnitTest.cpp b/clang/unittests/Frontend/ASTUnitTest.cpp
index 5296fc51f84..c60004e40bd 100644
--- a/clang/unittests/Frontend/ASTUnitTest.cpp
+++ b/clang/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()};
OpenPOWER on IntegriCloud