diff options
| author | Reid Kleckner <rnk@google.com> | 2017-09-23 01:03:17 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-09-23 01:03:17 +0000 |
| commit | 72f704f4e99aca4324468aeb68a2beb6d7bd10e3 (patch) | |
| tree | 3e449652b7caa1f6c7e9e78532000ee7b3b504ab /lib/CodeGen/CodeGenAction.cpp | |
| parent | 56635e1e5f0b694f52b02bd415775d63d2e01c83 (diff) | |
| download | clang-72f704f4e99aca4324468aeb68a2beb6d7bd10e3.tar.gz | |
[Support] Rename tool_output_file to ToolOutputFile, NFC
This class isn't similar to anything from the STL, so it shouldn't use
the STL naming conventions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenAction.cpp')
| -rw-r--r-- | lib/CodeGen/CodeGenAction.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/CodeGen/CodeGenAction.cpp b/lib/CodeGen/CodeGenAction.cpp index b6caa50381..51dee17544 100644 --- a/lib/CodeGen/CodeGenAction.cpp +++ b/lib/CodeGen/CodeGenAction.cpp @@ -265,12 +265,11 @@ namespace clang { Ctx.setDiagnosticsHotnessThreshold( CodeGenOpts.DiagnosticsHotnessThreshold); - std::unique_ptr<llvm::tool_output_file> OptRecordFile; + std::unique_ptr<llvm::ToolOutputFile> OptRecordFile; if (!CodeGenOpts.OptRecordFile.empty()) { std::error_code EC; - OptRecordFile = - llvm::make_unique<llvm::tool_output_file>(CodeGenOpts.OptRecordFile, - EC, sys::fs::F_None); + OptRecordFile = llvm::make_unique<llvm::ToolOutputFile>( + CodeGenOpts.OptRecordFile, EC, sys::fs::F_None); if (EC) { Diags.Report(diag::err_cannot_open_file) << CodeGenOpts.OptRecordFile << EC.message(); |
