werat added a comment.


In D134493#3819710 <https://reviews.llvm.org/D134493#3819710>, @shafik wrote:

> Note, in both C and C++ converting a `-1` to unsigned will always result in 
> the max unsigned value e.g.:

When you convert to "unsigned" then yeah, but here the API is `uint64_t 
GetAsUnsigned()`. I would expect this to be the equivalent of converting to 
`uint64_t`, not `unsigned`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134493/new/

https://reviews.llvm.org/D134493

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to