[cfe-commits] [PATCH] PR9488: don't assert/crash if auto type substitution fails
Richard Smith
richard at metafoo.co.uk
Thu Mar 17 09:18:03 PDT 2011
Great, in r127811. Should this be merged into 2.9?
On Thu, March 17, 2011 15:31, Douglas Gregor wrote:
> 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