[cfe-commits] [PATCH] PR9488: don't assert/crash if auto type substitution fails
richard at metafoo.co.uk
Thu Mar 17 05:06:44 PDT 2011
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5328 bytes
Desc: not available
More information about the cfe-commits