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
std::unique_ptr<llvm::ToolOutputFile> openOutputFile(StringRef Path) {
std::error_code EC;
- auto F = llvm::make_unique<llvm::ToolOutputFile>(Path, EC,
- llvm::sys::fs::F_None);
+ auto F = 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();