[cfe-commits] [PATCH] Add -Wknr-promoted-parameter option

Dimitry Andric dimitry at andric.com
Sun Dec 18 13:49:47 PST 2011


On 2011-12-18 21:44, Dimitry Andric wrote:
...
> Therefore, I propose the attached patch, which adds a new warning option
> (-Wknr-promoted-parameter) for turning it on or off.  This runs through
> the standard tests just fine.

That is, if I would have sent the correct patch, which also decrements
the counter in tools/clang/test/Misc/warning-flags.c...  Apologies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warn-knr-promoted-parameter-2.diff
Type: text/x-diff
Size: 2287 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111218/71026058/attachment.diff>


More information about the cfe-commits mailing list