mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
Introduce a new tool_output_file class, which extends raw_ostream with
functionality that most command-line tools need: ensuring that the output file gets deleted if the tool is interrupted or encounters an error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111595 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -98,3 +98,6 @@ formatted_raw_ostream &llvm::fdbgs() {
|
||||
static formatted_raw_ostream S(dbgs());
|
||||
return S;
|
||||
}
|
||||
|
||||
/// ~formatted_tool_output_file - Out-of-line destructor.
|
||||
formatted_tool_output_file::~formatted_tool_output_file() {}
|
||||
|
||||
Reference in New Issue
Block a user