[cfe-commits] [PATCH][Review request]Support for c++0x nullptr in static analyzer

Joerg Sonnenberger joerg at britannica.bec.de
Wed Apr 20 16:47:35 PDT 2011


On Wed, Apr 20, 2011 at 03:52:55PM -0700, Jim Goodnow II wrote:
> Hi Ted,
> 
> Yes, we do. The real purpose of the nullptr is the last part of the test 
> program where it allows you to distinguish between two overloaded 
> functions, i.e.:
> 
> void func( int );
> void func( int *);

I don't see how it matters here. But what about classic variadic
functions? nullptr is a valid sentinal for execl, NULL isn't.

Joerg



More information about the cfe-commits mailing list