77//
88// ===----------------------------------------------------------------------===//
99//
10- // This file defines the tool_output_file class.
10+ // This file defines the ToolOutputFile class.
1111//
1212// ===----------------------------------------------------------------------===//
1313
@@ -21,9 +21,9 @@ namespace llvm {
2121// / This class contains a raw_fd_ostream and adds a few extra features commonly
2222// / needed for compiler-like tool output files:
2323// / - The file is automatically deleted if the process is killed.
24- // / - The file is automatically deleted when the tool_output_file
24+ // / - The file is automatically deleted when the ToolOutputFile
2525// / object is destroyed unless the client calls keep().
26- class tool_output_file {
26+ class ToolOutputFile {
2727 // / This class is declared before the raw_fd_ostream so that it is constructed
2828 // / before the raw_fd_ostream is constructed and destructed after the
2929 // / raw_fd_ostream is destructed. It installs cleanups in its constructor and
@@ -45,10 +45,10 @@ class tool_output_file {
4545public:
4646 // / This constructor's arguments are passed to to raw_fd_ostream's
4747 // / constructor.
48- tool_output_file (StringRef Filename, std::error_code &EC,
49- sys::fs::OpenFlags Flags);
48+ ToolOutputFile (StringRef Filename, std::error_code &EC,
49+ sys::fs::OpenFlags Flags);
5050
51- tool_output_file (StringRef Filename, int FD);
51+ ToolOutputFile (StringRef Filename, int FD);
5252
5353 // / Return the contained raw_fd_ostream.
5454 raw_fd_ostream &os () { return OS; }
0 commit comments