[PATCH][StaticAnalyzer] new check comparing equal expression

Nico Weber thakis at chromium.org
Sun Sep 22 16:11:00 PDT 2013


Nice! This is a subset of http://llvm.org/PR9952 (except it's done in the
analyzer). +Hans, since he has looked at this in the past.


On Fri, Sep 20, 2013 at 3:06 AM, Per Viberg <Per.Viberg at evidente.se> wrote:

>
> Hello,
>
> please review attached patch. The patch adds a check that warns for
> comparison of equal expressions.
>
> example:
> x + 1 == x +1;
>
> best regards,
> Per
>
>
> .......................................................................................................................
> Per Viberg Senior Engineer
> Evidente ES East AB  Warfvinges väg 34  SE-112 51 Stockholm  Sweden
> Phone:    +46 (0)8 402 79 00
> Mobile:    +46 (0)70 912 42 52
> E-mail:     Per.Viberg at evidente.se
>
> www.evidente.se
> This e-mail, which might contain confidential information, is addressed to
> the above stated person/company. If you are not the correct addressee,
> employee or in any other way the person concerned, please notify the sender
> immediately. At the same time, please delete this e-mail and destroy any
> prints. Thank You.
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130922/bdf9bec5/attachment.html>


More information about the cfe-commits mailing list