[cfe-commits] [PATCH] No longer crash with invalid deleted and defaulted functions
Aaron Ballman
aaron at aaronballman.com
Tue Jan 15 13:24:05 PST 2013
This patch addresses PR14577; basically, if you have an invalid
function declaration (comes back null), then attempt to set it to
default or delete, we would crash because of dyn_cast usage. The
patch switches the code over to dyn_cast_or_null and adds a few test
cases.
~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr14577.patch
Type: application/octet-stream
Size: 2055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130115/de611285/attachment.obj>
More information about the cfe-commits
mailing list