[cfe-commits] [Patch] Fix for compiler crash with ill-formed user-defined literal

Richard Smith richard at metafoo.co.uk
Fri Aug 3 14:15:53 PDT 2012


Thanks, r161260.

On Fri, Aug 3, 2012 at 5:58 AM, Andy Gibbs <andyg1001 at hotmail.co.uk> wrote:

> Hi,
>
> Attached is a patch replacing a "cast" with a "dyn_cast" to solve
> a compiler crash when a user-defined literal is defined with a
> template type parameter rather than a template non-type parameter.
>
> Spotted during code review.  'Spect it was just a typo!
>
> Test-case included.
>
> Cheers
> Andy
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120803/99db8556/attachment.html>


More information about the cfe-commits mailing list