[PATCH] Use cast<T> for type conversion with assertion.

Rui Ueyama ruiu at google.com
Wed Apr 2 14:50:39 PDT 2014


Do you have any idea how often this could fail? Could it fail for reasons
other than pure internal programming error, such as invalid user input?


On Wed, Apr 2, 2014 at 2:49 PM, Shankar Kalpathi Easwaran <
shankarke at gmail.com> wrote:

>
>   I would like to keep the code as is, so that a meaningful assert message
> is produced.
>
> http://llvm-reviews.chandlerc.com/D3269
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140402/97e21f8c/attachment.html>


More information about the llvm-commits mailing list