[PATCH][StaticAnalyzer] new check comparing equal expression

Daniel Marjamäki Daniel.Marjamaki at evidente.se
Wed Sep 25 02:58:17 PDT 2013


Hello!

To clarify. Do you want to see any changes in the checker before it can be applied?

..................................................................................................................
Daniel Marjamäki Senior Engineer
Evidente ES East AB  Warfvinges väg 34  SE-112 51 Stockholm  Sweden

Mobile:                 +46 (0)709 12 42 62
E-mail:                 Daniel.Marjamaki at evidente.se

www.evidente.se

________________________________________
Från: hwennborg at google.com [hwennborg at google.com] för Hans Wennborg [hans at chromium.org]
Skickat: den 23 september 2013 20:18
Till: Daniel Marjamäki
Cc: cfe-commits at cs.uiuc.edu; Per Viberg
Ämne: Re: [PATCH][StaticAnalyzer] new check comparing equal expression

On Mon, Sep 23, 2013 at 11:14 AM, Hans Wennborg <hans at chromium.org> wrote:
> Feel free to look at my patch for inspiration. For example, I learned
> that "x == x" is a common pattern for checking if a float is NaN, so
> that shouldn't trigger a warning.

Actually looking at your patch, I see you're well aware of this
already, and have some excellent test cases for it too :)

 - Hans




More information about the cfe-commits mailing list