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

Attachment: pr14577.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to