diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-05-21 21:48:17 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-05-21 21:48:17 +0000 |
commit | 0322e3cbf515fb41fd745be9b52124923996bd80 (patch) | |
tree | 29f92f634971ce2c0bf6a525412143f800b8cf3d /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 9f65d16d5d06bbfc075cdd9c8635f5af88baaf8b (diff) | |
download | bcm5719-llvm-0322e3cbf515fb41fd745be9b52124923996bd80.tar.gz bcm5719-llvm-0322e3cbf515fb41fd745be9b52124923996bd80.zip |
Fix another make_unique ambiguity.
llvm-svn: 332906
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 9de6c8e03ab..f9239f63649 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -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(); |