<rdar://problem/12493007>
authorGreg Clayton <gclayton@apple.com>
Tue, 23 Oct 2012 01:50:10 +0000 (01:50 +0000)
committerGreg Clayton <gclayton@apple.com>
Tue, 23 Oct 2012 01:50:10 +0000 (01:50 +0000)
commit4a792072ceea00696c9bbce3de74c348cce608b9
tree24711d5dd558428505777ef2bed986f9309b5f00
parent164bb37c7be710a07879ebe9711da0229aa18021
<rdar://problem/12493007>

Added a new API call to help efficiently determine if a SBValue could have children:

     bool
     SBValue::MightHaveChildren ();

This is inteneded to be used bui GUI programs that need to show if a SBValue needs a disclosure triangle when displaying a hierarchical type in a tree view without having to complete the type (by calling SBValue::GetNumChildren()) as completing the type is expensive.

llvm-svn: 166460
lldb/include/lldb/API/SBValue.h
lldb/include/lldb/Core/ValueObject.h
lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
lldb/scripts/Python/interface/SBValue.i
lldb/source/API/SBValue.cpp
lldb/source/Core/ValueObject.cpp
lldb/source/Core/ValueObjectSyntheticFilter.cpp