clang static analysis

Jeremy Huddleston jeremyhu at apple.com
Fri May 21 23:05:03 PDT 2010


On May 21, 2010, at 22:18, Jamey Sharp wrote:

> What about this case though?
> http://people.freedesktop.org/~jeremyhu/clang/2010-05-20-1/report-bKYbbq.html
> 
> Is clang having some kind of alias analysis trouble there? pDrawable
> isn't being passed to any functions, but
> &((WindowPtr) pDrawable)->borderClip is...

That one is interesting.  I'm not sure.  One way to quiet it might be to just s/&pixmapClip/pClip/ in that line...

I'll file a bug report against the SA for this one... at minimum, it should maybe be more verbose.  I'll let you know what I hear.

--Jeremy




More information about the xorg-devel mailing list