From: Amara Emerson Date: Tue, 22 May 2018 11:18:49 +0000 (+0000) Subject: Revert "Fix another make_unique ambiguity." X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c0a334af999227939c295beb47ef3bdc9e60f8f;p=clang Revert "Fix another make_unique ambiguity." This reverts commit r332906 as a dependency to revert r332885. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332972 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index f9239f6364..9de6c8e03a 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -108,8 +108,7 @@ class EmitAssemblyHelper { std::unique_ptr openOutputFile(StringRef Path) { std::error_code EC; - auto F = llvm::make_unique(Path, EC, - llvm::sys::fs::F_None); + auto F = 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();