[cfe-dev] [BUG] Support for W[no-]unused-but-set-{variable, parameter}

Ramkumar Ramachandra artagnon at gmail.com
Fri Jul 12 02:09:29 PDT 2013


Nico Weber wrote:
> The -variable one is http://llvm.org/bugs/show_bug.cgi?id=9824 , I didn't
> find a bug for -parameter. The bug has some discussion (and not one but two
> rdar numbers :-P).

I added one a few days ago: http://llvm.org/bugs/show_bug.cgi?id=16589

>From what I understand, the bug still hasn't been fixed; and I would
love for it to be fixed now.  From the discussion, it seems that I
just have to hook into the static analyzer's dead-store check? Can you
give me some pointers on where I should be looking?  (I'm currently
looking at Sema::DiagnoseUnusedParameters).

Thanks.



More information about the cfe-dev mailing list