[cfe-dev] A patch for printing policy and other stuff
Olaf.Krzikalla at tu-dresden.de
Wed Jul 1 06:29:06 PDT 2009
find attached a new patch considering the comments (includin Ted's).
Chris Lattner schrieb:
> Also, is there some way that you can expose the new printing style
> through to the command line?
Hmm, as far as I can see the printing policy is not customized by the
command line yet. This is related to the fact that PrintingPolicy
objects are constructed here and there even if one exists in the
ASTContext. I think that the PrintingPolicy object in ASTContext has to
be used consequently to expose printing style options through to the
command line. That said one could think of making the PrintingPolicy
ctor private and ASTContext a friend of PrintingPolicy. However this
might be a too strict restriction (but not IMO).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cfe-dev