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 <[EMAIL PROTECTED]> 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 > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
