On 22 January 2013 20:38, Matt Beaumont-Gay <[email protected]> wrote:

> Test case for a transparent union initialized with 0?


Already in test/SemaObjC/nonnull.m.


> (Also, typo in
> the comment, 'initialied'.) LGTM otherwise.
>

Doh. Thanks!


>
> On Tue, Jan 22, 2013 at 6:21 PM, Nick Lewycky <[email protected]> wrote:
> > This patch updates the nonnull attribute's analysis to use the
> generalized
> > expression evaluator instead of looking strictly at language-defined
> "null
> > pointer constant". The nonnull attribute is used in cases where getting a
> > NULL would cause misbehaviour, so it makes sense to check for anything we
> > can prove is null.
> >
> > Please review!
> >
> > Nick
> >
> >
> > _______________________________________________
> > cfe-commits mailing list
> > [email protected]
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> >
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to