[cfe-users] Catch unused but set variables

David kiarie davidkiarie4 at gmail.com
Thu Jun 26 10:35:29 PDT 2014


Okay, I just wanted to confirm that.

On Thu, Jun 26, 2014 at 6:15 PM, David Blaikie <dblaikie at gmail.com> wrote:
> I don't believe we have any warnings like that yet. I'd really love a
> generalized (& low false positive) dead store warning for a lot of
> reasons...
>
> On Thu, Jun 26, 2014 at 6:53 AM, David kiarie <davidkiarie4 at gmail.com> wrote:
>> Hi there,
>>
>> I would like to know whether there is a way to catch set but unused
>> variables using clang, something like gcc's
>> -Werror=unused-but-set-parameter.
>>
>> Regards,
>> David.
>> _______________________________________________
>> cfe-users mailing list
>> cfe-users at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users



More information about the cfe-users mailing list