JustinStitt wrote:
> Right, I think `c` is what is already happening with `b`: a cast to `u16`
> tells us nothing about the desired OB. We need to say `u16 __ob_trap` ("I
> want to trap") or `u16 __ob_wrap` ("I want wrap-around on overflow").
OK, that sounds fine to me. It addresses the issue of developers slapping a
random explicit cast just to silence warnings. Following your approach, they
must specify overflow behavior.
https://github.com/llvm/llvm-project/pull/148914
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits