summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling/TestVisitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Tooling/TestVisitor.h')
-rw-r--r--clang/unittests/Tooling/TestVisitor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Tooling/TestVisitor.h b/clang/unittests/Tooling/TestVisitor.h
index ff90a77a692..95252b82c66 100644
--- a/clang/unittests/Tooling/TestVisitor.h
+++ b/clang/unittests/Tooling/TestVisitor.h
@@ -109,7 +109,7 @@ protected:
std::unique_ptr<clang::ASTConsumer>
CreateASTConsumer(CompilerInstance &, llvm::StringRef dummy) override {
/// TestConsumer will be deleted by the framework calling us.
- return llvm::make_unique<FindConsumer>(Visitor);
+ return std::make_unique<FindConsumer>(Visitor);
}
protected:
OpenPOWER on IntegriCloud