[patch] Forward all -f* options to -cc1

Chandler Carruth 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
> domain-specific
> > .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...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130928/e4543779/attachment.html>

More information about the cfe-commits mailing list