[patch] Forward all -f* options to -cc1
chandlerc at google.com
Sat Sep 28 00:06:04 PDT 2013
On Fri, Sep 27, 2013 at 6:13 PM, Rafael Espíndola <
rafael.espindola at gmail.com> wrote:
> > -W flags are special because they are already in their own
> > .td file. I don't think that's a precedent worth following.
> The simple -f/-fno- flags are not as domain specific as -W, but they
> still have quiet a bit that can be refactored/unified:
I really disagree with the direction of this patch.
Currently we have succeeded at factoring all of the GCC '-f' flag-spelling
compatibility into the driver, and keeping it out of the frontend. I would
personally rather keep it that way, and have a much more constrained and
justified command line flag interface at the CC1 boundary. I find this
separation of concerns extremely useful.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits