[Lldb-commits] [lldb] [lldb] Do not narrow `GetIndexOfChildWithName` return type to int (PR #165453)

via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 28 11:44:58 PDT 2025


https://github.com/jimingham approved this pull request.

The exported API (SBValue::GetIndexOfChildWithName) returns a uint32_t so it doesn't make any sense to use signed values in the intermediate steps.

You mentioned some kinds of bad behavior as a result of doing that.  Is any of that testable?  Otherwise, LGTM.

https://github.com/llvm/llvm-project/pull/165453


More information about the lldb-commits mailing list