[cfe-dev] FW: [PATCH] Driver modifications for cross compilation

Joerg Sonnenberger joerg at britannica.bec.de
Fri May 27 06:49:20 PDT 2011


On Fri, May 27, 2011 at 02:35:49PM +0100, James Molloy wrote:
> Your argument seems to be that functionally, -ccc-host-triple should have
> less priority than -march and friends. Is my interpretation correct?
> If so, I'm perfectly happy with this as long as the community doesn't
> object.

Essentially.

> > ParseProgName works this way as it makes sure that only local state is
> > modified. That feels a lot cleaner than adjusting global variables.
> > Consider a clang daemon as an example that might be useful to implement
> > at some point.
> 
> Given the above debate this is probably a moot point, but I feel that
> calling a setter
> in a Driver& object that is already passed into that function is cleaner
> than adding 
> an additional invisible argument *.

I don't care too much either way.

Joerg



More information about the cfe-dev mailing list