[cfe-commits] [PATCH] PR9488: don't assert/crash if auto type substitution fails
richard at metafoo.co.uk
Thu Mar 17 07:52:12 PDT 2011
On Thu, March 17, 2011 12:06, Richard Smith wrote:
> 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!
Oops, I forgot to 'svn add' the new test before creating the patch! Test
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1026 bytes
Desc: not available
More information about the cfe-commits