[Lldb-commits] [PATCH] D13778: [SBValue] Add a method HasChildAtIndex.

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 15 13:17:43 PDT 2015

clayborg added a comment.

I would almost rather change the GetNumChildren() to take a "max" param:

  class SBValue
       GetNumChildren ();
       GetNumChildren (uint32_t max = UINT32_MAX);

We need to keep the other one so that our public API still has the old call, but the second version could limit the number of children to verify to at most "max".


More information about the lldb-commits mailing list