[Lldb-commits] [lldb] Change the return type of CalculateNumChildren to uint32_t. (PR #83501)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 4 16:47:12 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;
----------------
adrian-prantl wrote:

Oh that's separately a good change to make apart from the return value I mentioned below.

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


More information about the lldb-commits mailing list