[cfe-dev] using raw_ostream in ASTConsumers

Nico Weber nicolasweber at gmx.de
Thu Aug 21 03:40:50 PDT 2008


Hi Csaba,

On 21.08.2008, at 11:22, Csaba Hruska wrote:

> Are you planning to modify current ast consumers to print its output  
> via raw_ostream ?
> And a second idea: It would be great to move ast consumers to  
> libDriver to provide some reusability.

moving stuff from Driver to lib/Driver and making it more reusable is  
generally a good idea. The fastest way to get a change you want is  
probably to submit a patch that does your change. Just make sure that  
`make test` doesn't fail with your changes, and that you do not move  
and command line parameter stuff to libDriver. And submit several  
small, focussed patches instead of few big ones.

Nico



More information about the cfe-dev mailing list