[llvm-commits] [llvm] r111595 - in /llvm/trunk: include/llvm/Support/FormattedStream.h include/llvm/Support/raw_ostream.h lib/Support/FormattedStream.cpp lib/Support/raw_ostream.cpp

Dan Gohman gohman at apple.com
Fri Aug 20 19:53:50 PDT 2010


On Aug 20, 2010, at 5:43 PM, Chris Lattner wrote:

> 
> On Aug 19, 2010, at 5:48 PM, Dan Gohman wrote:
>> URL: http://llvm.org/viewvc/llvm-project?rev=111595&view=rev
>> Log:
>> 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.
> 
> I embrace factoring out this code, but it doesn't seem like this "isa" raw_ostream.  This seems like it should contain one instead.  What do you think?

Makes sense. I'll look into it.

Dan





More information about the llvm-commits mailing list