[cfe-dev] clang's handling of --param

Daniel Dunbar daniel at zuster.org
Mon Jun 7 16:21:36 PDT 2010


Works for me. I think we should keep the unused argument warning
around for it, which should happen by default.

 - Daniel

On Mon, Jun 7, 2010 at 9:05 AM, Chris Lattner <clattner at apple.com> wrote:
>
> On Jun 6, 2010, at 10:24 PM, Nick Lewycky wrote:
>
>> Hi clangers,
>>
>> The current --param flag in clang doesn't match gcc's at all. In GCC this flag is documented as --param NAME=VALUE where NAME is something like "struct-reorg-cold-struct-ratio". What clang seems to do is under a big FIXME, pass whatever is given to --param to all the subprocesses it executes.
>>
>> That's not okay.
>>
>> Why does it work this way? Would anyone object to me removing the flag entirely, or making the driver accept --param then ignore its contents?
>
> I think that accepting the flag and discarding the contents makes a lot of sense.
>
> -Chris
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>




More information about the cfe-dev mailing list