From 76f4af39f61bccd7ec0c9a8473e0c7becc1e04d1 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 21 May 2018 21:48:17 +0000 Subject: [PATCH] Fix another make_unique ambiguity. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332906 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/BackendUtil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 9de6c8e03a..f9239f6364 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -108,7 +108,8 @@ class EmitAssemblyHelper { std::unique_ptr openOutputFile(StringRef Path) { std::error_code EC; - auto F = make_unique(Path, EC, llvm::sys::fs::F_None); + auto F = llvm::make_unique(Path, EC, + llvm::sys::fs::F_None); if (EC) { Diags.Report(diag::err_fe_unable_to_open_output) << Path << EC.message(); F.reset(); -- 2.50.1