On Thu, Oct 11, 2018 at 02:56:14PM +0200, Martin Liška wrote:
> As seen in the PR, switch conversion can do better when we return equal
> numbers
> based on index value. I implemented more than that, more precisely I support
> all linear
> transformation based on index value. It's the same what clang is capable of.
Not a review, just a question, do you check for overflows while computing
it? Or force the arithmetics to be performed in a type with defined
overflow. It would be bad to introduced UB...
Jakub