diff options
Diffstat (limited to 'clang/unittests/AST')
-rw-r--r-- | clang/unittests/AST/EvaluateAsRValueTest.cpp | 2 | ||||
-rw-r--r-- | clang/unittests/AST/ExternalASTSourceTest.cpp | 2 | ||||
-rw-r--r-- | clang/unittests/AST/RecursiveASTVisitorTest.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/unittests/AST/EvaluateAsRValueTest.cpp b/clang/unittests/AST/EvaluateAsRValueTest.cpp index e737507abd7..4eabb2c3ec0 100644 --- a/clang/unittests/AST/EvaluateAsRValueTest.cpp +++ b/clang/unittests/AST/EvaluateAsRValueTest.cpp @@ -59,7 +59,7 @@ class EvaluateConstantInitializersAction : public clang::ASTFrontendAction { std::unique_ptr<clang::ASTConsumer> CreateASTConsumer(clang::CompilerInstance &Compiler, llvm::StringRef FilePath) override { - return llvm::make_unique<Consumer>(); + return std::make_unique<Consumer>(); } private: diff --git a/clang/unittests/AST/ExternalASTSourceTest.cpp b/clang/unittests/AST/ExternalASTSourceTest.cpp index 3a0fe01ec06..ba8a8cd3766 100644 --- a/clang/unittests/AST/ExternalASTSourceTest.cpp +++ b/clang/unittests/AST/ExternalASTSourceTest.cpp @@ -37,7 +37,7 @@ private: std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, StringRef InFile) override { - return llvm::make_unique<ASTConsumer>(); + return std::make_unique<ASTConsumer>(); } IntrusiveRefCntPtr<ExternalASTSource> Source; diff --git a/clang/unittests/AST/RecursiveASTVisitorTest.cpp b/clang/unittests/AST/RecursiveASTVisitorTest.cpp index 861b9942059..988a8ce4c2a 100644 --- a/clang/unittests/AST/RecursiveASTVisitorTest.cpp +++ b/clang/unittests/AST/RecursiveASTVisitorTest.cpp @@ -42,7 +42,7 @@ public: llvm::function_ref<void(ASTContext &CTx)> Process; }; - return llvm::make_unique<Consumer>(Process); + return std::make_unique<Consumer>(Process); } private: |