[PATCH][StaticAnalyzer] new check comparing equal expression

Per Viberg Per.Viberg at evidente.se
Thu Oct 10 08:42:13 PDT 2013


Hello,

changed patch according to review comments.

Please review revised 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: equalcompare_rev5.diff
Type: text/x-patch
Size: 33773 bytes
Desc: equalcompare_rev5.diff
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131010/2a2227af/attachment.bin>


More information about the cfe-commits mailing list