[PATCH] Fix crash when assiging to a property with an invalid type

Olivier Goffart ogoffart at kde.org
Wed Jul 30 06:54:14 PDT 2014


On Wednesday 30 July 2014 09:42:40 Olivier Goffart wrote:
> Hi,
> 
> Attached you will find a fix for a crash I have when parsing objective C
> with missing include.
> This is a regression against clang 3.4 which did not crash.
> 
> My approach here is naive and just fixes the symptoms (the crash).

Hi,

Actually I found another similar but unrelated crash. and here is a second 
patch
(The test of this patch is based on the test of the previous patch)

-- 
Olivier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-crash-when-accessing-a-property-of-an-invalid-in.patch
Type: text/x-patch
Size: 3324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140730/52a692c4/attachment.bin>


More information about the cfe-commits mailing list