[cfe-commits] [PATCH] PR9488: don't assert/crash if auto type substitution fails
Douglas Gregor
dgregor at apple.com
Thu Mar 17 08:31:07 PDT 2011
LGTM!
On Mar 17, 2011, at 5:06 AM, Richard Smith wrote:
> Hi,
>
> In PR9488 I observed that clang crashes if auto type substitution fails.
> This can happen if 'auto' is deduced as 'void' in the context of an 'auto
> &' type. Testing the fix for this issue exposed another issue: the type
> source information for the substituted type was not being built.
>
> The attached patch fixes these issues. Please review!
>
> Thanks,
> Richard<clang-9488.diff>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list