[cfe-commits] r57948 - /cfe/trunk/Driver/Backend.cpp

Daniel Dunbar daniel at zuster.org
Tue Oct 21 21:17:01 PDT 2008


Well, I haven't looked at the rest of clang, but yes the motivation for that
commit was to get rid of std::ostream (and llvm::OStream) from the backend
emission. The next part is to make the BitcodeWriter take a raw_ostream.
This will clean up some ugly code in both clang and llvm-gcc.

 - Daniel

On Tue, Oct 21, 2008 at 8:34 PM, Chris Lattner <clattner at apple.com> wrote:

>
> On Oct 21, 2008, at 8:28 PM, Daniel Dunbar wrote:
>
>  Author: ddunbar
>> Date: Tue Oct 21 22:28:13 2008
>> New Revision: 57948
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=57948&view=rev
>> Log:
>> Update to use raw_ostream for PrintModulePass.
>> - Stop playing fast and loose with the std stream.
>>
>
> Would it be possible to get clang completely off std::ostream?  What would
> be needed?
>
> -Chris
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20081021/6ff9cb74/attachment.html>


More information about the cfe-commits mailing list