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 | 29fa808cd99078da5627aa93f9f3830abcedeed1 (patch) | |
| tree | 5ce35c4ccbaf5bc3fc39cf4c2b744b6be43b7c1a /modularize/ModuleAssistant.cpp | |
| parent | f3e814191a54ef6d2f4b511471315f0891b5d3a0 (diff) | |
[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/clang-tools-extra/trunk@314050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'modularize/ModuleAssistant.cpp')
| -rw-r--r-- | modularize/ModuleAssistant.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modularize/ModuleAssistant.cpp b/modularize/ModuleAssistant.cpp index 26c59254..7f1cb156 100644 --- a/modularize/ModuleAssistant.cpp +++ b/modularize/ModuleAssistant.cpp @@ -25,7 +25,7 @@ // to modularize. It then calls a writeModuleMap function to set up the // module map file output and walk the module tree, outputting the module // map file using a stream obtained and managed by an -// llvm::tool_output_file object. +// llvm::ToolOutputFile object. // //===---------------------------------------------------------------------===// @@ -271,7 +271,7 @@ static bool writeModuleMap(llvm::StringRef ModuleMapPath, // Set up module map output file. std::error_code EC; - llvm::tool_output_file Out(FilePath, EC, llvm::sys::fs::F_Text); + llvm::ToolOutputFile Out(FilePath, EC, llvm::sys::fs::F_Text); if (EC) { llvm::errs() << Argv0 << ": error opening " << FilePath << ":" << EC.message() << "\n"; @@ -289,7 +289,7 @@ static bool writeModuleMap(llvm::StringRef ModuleMapPath, if (!RootModule->output(OS, 0)) return false; - // Tell tool_output_file that we want to keep the file. + // Tell ToolOutputFile that we want to keep the file. Out.keep(); return true; |
