aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Tooling/Refactoring/ASTSelectionRequirements.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Tooling/Refactoring/ASTSelectionRequirements.cpp')
-rw-r--r--lib/Tooling/Refactoring/ASTSelectionRequirements.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Tooling/Refactoring/ASTSelectionRequirements.cpp b/lib/Tooling/Refactoring/ASTSelectionRequirements.cpp
index 14fc66a979ae..7dfd3988d904 100644
--- a/lib/Tooling/Refactoring/ASTSelectionRequirements.cpp
+++ b/lib/Tooling/Refactoring/ASTSelectionRequirements.cpp
@@ -35,7 +35,7 @@ Expected<CodeRangeASTSelection> CodeRangeASTSelectionRequirement::evaluate(
if (!ASTSelection)
return ASTSelection.takeError();
std::unique_ptr<SelectedASTNode> StoredSelection =
- llvm::make_unique<SelectedASTNode>(std::move(*ASTSelection));
+ std::make_unique<SelectedASTNode>(std::move(*ASTSelection));
Optional<CodeRangeASTSelection> CodeRange = CodeRangeASTSelection::create(
Context.getSelectionRange(), *StoredSelection);
if (!CodeRange)