This diff is adding the capping_size determination for the list and forward list, to limit the number of children to be displayed. Also it modifies and unifies tests for libcxx and libstdcpp list data formatter.
I will change this to the following:
`if not _list_uses_loop_detector of self.has_prev:
logger >> "Asked not to use loop detection return False"`
you have to use > instead of >=
this shouldn't fail, so remove the try/except
these changes shouldn't be here, as has_loop should only be called if the size is not present as a member of the variable. num_children is the method that is called by lldb to determine the size of the structure, which invokes num_children_impl only if the count is not a member variable. So I have the impression that this code is redundant
create another test in which you set the setting to 3, for example, and then check the output