From: Peter Collingbourne Date: Mon, 21 May 2018 21:48:17 +0000 (+0000) Subject: Fix another make_unique ambiguity. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76f4af39f61bccd7ec0c9a8473e0c7becc1e04d1;p=clang Fix another make_unique ambiguity. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332906 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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();