summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-09-23 01:03:17 +0000
committerReid Kleckner <rnk@google.com>2017-09-23 01:03:17 +0000
commit3fc649cb76f56da0ded256048de6dc634f03b502 (patch)
treea29d08e8d26ccc55ab05d98235f5c1027d912589 /clang/lib/CodeGen/CodeGenAction.cpp
parent8e30a1c6072a9f922f37b3092a84eda279bb6a7b (diff)
downloadbcm5719-llvm-3fc649cb76f56da0ded256048de6dc634f03b502.tar.gz
bcm5719-llvm-3fc649cb76f56da0ded256048de6dc634f03b502.zip
[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. llvm-svn: 314050
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenAction.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp
index b6caa50381e..51dee175447 100644
--- a/clang/lib/CodeGen/CodeGenAction.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud