Home
last modified time | relevance | path

Searched refs:potential_child_sp (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxMap.cpp342 auto potential_child_sp = key_val_sp->Clone(ConstString(name.GetString())); in GetChildAtIndex() local
343 if (potential_child_sp) { in GetChildAtIndex()
344 switch (potential_child_sp->GetNumChildrenIgnoringErrors()) { in GetChildAtIndex()
346 auto child0_sp = potential_child_sp->GetChildAtIndex(0); in GetChildAtIndex()
349 potential_child_sp = child0_sp->Clone(ConstString(name.GetString())); in GetChildAtIndex()
353 auto child0_sp = potential_child_sp->GetChildAtIndex(0); in GetChildAtIndex()
354 auto child1_sp = potential_child_sp->GetChildAtIndex(1); in GetChildAtIndex()
358 potential_child_sp = child0_sp->Clone(ConstString(name.GetString())); in GetChildAtIndex()
363 return potential_child_sp; in GetChildAtIndex()
H A DLibCxxUnorderedMap.cpp345 auto potential_child_sp = key_value_sp->Clone(ConstString("pair")); in Update() local
346 if (potential_child_sp) in Update()
347 if (potential_child_sp->GetNumChildrenIgnoringErrors() == 1) in Update()
348 if (auto child0_sp = potential_child_sp->GetChildAtIndex(0); in Update()
350 potential_child_sp = child0_sp->Clone(ConstString("pair")); in Update()
352 m_pair_sp = potential_child_sp; in Update()