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

Andy Gibbs andyg1001 at hotmail.co.uk
Fri Aug 3 05:58:34 PDT 2012


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: lit.diff
Type: application/octet-stream
Size: 1117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120803/e124864a/attachment.obj>

More information about the cfe-commits mailing list