[Lldb-commits] [lldb] Change the return type of CalculateNumChildren to uint32_t. (PR #83501)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 4 16:43:48 PST 2024
================
@@ -958,7 +958,7 @@ class ValueObject {
int32_t synthetic_index);
/// Should only be called by ValueObject::GetNumChildren().
- virtual size_t CalculateNumChildren(uint32_t max = UINT32_MAX) = 0;
+ virtual uint64_t CalculateNumChildren(uint64_t max = UINT32_MAX) = 0;
----------------
clayborg wrote:
As long as we are changing things, do we want to pass in a `std::optional<uint64_t> max`? If not, then switch this to `UINT64_MAX`.
https://github.com/llvm/llvm-project/pull/83501
More information about the lldb-commits
mailing list