]> granicus.if.org Git - clang/commitdiff
Fix another make_unique ambiguity.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 21 May 2018 21:48:17 +0000 (21:48 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 21 May 2018 21:48:17 +0000 (21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332906 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/BackendUtil.cpp

index 9de6c8e03aba56eef35a6f8acfb0b5ead663a2c0..f9239f636496ec54b05f0307ae5a981bbc1656b4 100644 (file)
@@ -108,7 +108,8 @@ class EmitAssemblyHelper {
 
   std::unique_ptr<llvm::ToolOutputFile> openOutputFile(StringRef Path) {
     std::error_code EC;
-    auto F = make_unique<llvm::ToolOutputFile>(Path, EC, llvm::sys::fs::F_None);
+    auto F = llvm::make_unique<llvm::ToolOutputFile>(Path, EC,
+                                                     llvm::sys::fs::F_None);
     if (EC) {
       Diags.Report(diag::err_fe_unable_to_open_output) << Path << EC.message();
       F.reset();