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

Siva Chandra via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 15 14:12:10 PDT 2015


sivachandra added a comment.

I did consider the option of adding a new method GetNumChildren (uint32_t max = UINT32_MAX). This if fine from SBValue point of view. But from a the scripted synthetic provider point of view, I am not sure there is an easy/clean way of checking whether the num_children method takes the max cap argument. Are you suggesting that we have different method like "num_children_with_cap"?


http://reviews.llvm.org/D13778





More information about the lldb-commits mailing list