<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
From: Douglas Gregor <<a href="mailto:dgregor@apple.com">dgregor@apple.com</a>><br>
Subject: Re: [cfe-commits] r134302 -<br>
        /cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp<br>
To: Jordy Rose <<a href="mailto:jediknil@belkadan.com">jediknil@belkadan.com</a>><br>
Cc: <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
Message-ID: <<a href="mailto:B5725724-0AA7-49C1-8BB5-F09412D5AD1C@apple.com">B5725724-0AA7-49C1-8BB5-F09412D5AD1C@apple.com</a>><br>
Content-Type: text/plain; CHARSET=US-ASCII<br>
<br>
<br>
On Jul 1, 2011, at 6:06 PM, Jordy Rose wrote:<br>
<br>
> Just to be silly, if we're in an ObjC context and 'NULL' is defined, but 'nil' isn't, is 'NULL' preferable to 0? Or is that a contrived situation we don't care about?<br>
<br>
It feels contrived to me; 'nil' is generally available in any real ObjC code.<br>
<br>
> (Also, do we care about 'Nil', the null value for ObjC 'Class' type, and 'false' for C99 _Bool?)<br>
<br>
<br>
I, personally, don't care much about those particular cases, but we could hack them in.<br>
<br>
        - Doug<br></blockquote><div><br>Also, in C++0x, I think "nullptr" would be better, or is that Clang does not support it yet ?<br><br>-- Matthieu<br></div></div>