[cfe-dev] Assigning NULL

Sanghyeon Seo sanxiyn at gmail.com
Fri Nov 23 07:26:00 PST 2007


On Nov 13, 2007, at 10:29 PM, Chris Lattner wrote:
> This is definitely a bug.  Steve, I think
> Sema::CheckSingleAssignmentConstraints should handle this, what do you
> think?

2007/11/14, Steve Naroff <snaroff at apple.com>:
> I can look at this later this week...right now, I'm focused on some
> other stuff (but you already know that:-)

As this didn't happen, I had a look. The attached patch moves null
pointer constant check to CheckSingleAssignmentConstraints as
suggested, and remove checks from its callers.

-- 
Seo Sanghyeon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assign-null
Type: application/octet-stream
Size: 4851 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20071124/3f8cc62f/attachment.obj>


More information about the cfe-dev mailing list