[cfe-commits] [Patch] Fix PR10270, null ptr deref in ActOnCXXConditionDeclaration

Hans Wennborg hans at chromium.org
Tue Jul 5 03:43:03 PDT 2011


This should fix PR10270. I'm not very familiar with the parser code,
so please take a look.

ActOnCXXConditionDeclaration should take into account that
ActOnDeclarator can return NULL. It seems this regressed in r133984.

Thanks,
Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ActOnCXXConditionDeclaration.patch
Type: text/x-patch
Size: 1064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110705/b5c52762/attachment.bin>


More information about the cfe-commits mailing list