[Lldb-commits] [PATCH] D134493: [lldb][TypeSystemClang] Deduce lldb::eEncodingUint for unsigned enum types
    Andy Yankovsky via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Wed Sep 28 07:28:45 PDT 2022
    
    
  
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
    
    
More information about the lldb-commits
mailing list