r194540 - PR10837: Warn if a null pointer constant is formed by a zero integer constant

Joerg Sonnenberger joerg at britannica.bec.de
Tue Nov 19 08:11:48 PST 2013


On Wed, Nov 13, 2013 at 01:24:28AM -0000, Richard Smith wrote:
> Log:
> PR10837: Warn if a null pointer constant is formed by a zero integer constant
> expression that is not a zero literal, in C. Patch by Ivan A. Kosarev!

Attached is a better test case.

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nsCategoryCache.cc
Type: text/x-c++src
Size: 272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131119/0acaf4aa/attachment.cc>


More information about the cfe-commits mailing list