diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-06-06 08:25:54 +0000 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-06-06 08:25:54 +0000 |
commit | d16cccf803c0377678c90766ff39841a7804d55d (patch) | |
tree | 9af8e23a7c5b6e0d6060af33c710ad985e167cad /clang/unittests/Frontend/ASTUnitTest.cpp | |
parent | 326ec32403a0b83999878eeed01dc525974faef5 (diff) | |
download | bcm5719-llvm-d16cccf803c0377678c90766ff39841a7804d55d.tar.gz bcm5719-llvm-d16cccf803c0377678c90766ff39841a7804d55d.zip |
Fix build - use llvm::make_unique
llvm-svn: 334072
Diffstat (limited to 'clang/unittests/Frontend/ASTUnitTest.cpp')
-rw-r--r-- | clang/unittests/Frontend/ASTUnitTest.cpp | 2 |
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()}; |