Patch to fix crash on invalid

Jason Haslam jason.haslam at gmail.com
Thu Mar 21 13:10:00 PDT 2013


On Mar 21, 2013, at 1:54 PM, John McCall <rjmccall at apple.com> wrote:

> On Mar 21, 2013, at 11:05 AM, Jason Haslam <jason.haslam at gmail.com> wrote:
>> The attached patch fixes a crash on invalid. Diagnosing tag type definition in a function return type will crash when the type definition creates an invalid decl. The patch includes one such test case.
> 
> I think it might make more sense to just not the set isTypeSpecOwned() flag in this case.

Yeah, you're right. Adjusted patch attached. Thanks!

Jason

-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash-on-invalid.diff
Type: application/octet-stream
Size: 966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130321/f0fd9bc1/attachment.obj>


More information about the cfe-commits mailing list