llvm-project/lldb/source
Luboš Luňák c29a51b3a2 [lldb][gui] remove the "expand" diamond for variables where expanding fails
If the variables view shows a variable that is a struct that has
MightHaveChildren(), the expand diamond is shown, but if trying to expand
it and it's not possible (e.g. incomplete type), remove the expand diamond
to visualize that it can't be in fact expanded. Otherwise it feels kinda
weird that a tree item cannot be expanded even though it "should".

I guess the MightHaveChildren() checking means that GetChildren() may
be expensive, so also do not call it for rows that are not expanded.

Differential Revision: https://reviews.llvm.org/D123008
2022-04-07 21:59:18 +02:00
..
API [lldb] Add Python bindings to print stack traces on crashes. 2022-04-07 11:21:02 -07:00
Breakpoint [lldb] Silence GCC warnings about missing returns after fully covered switches. NFC. 2022-04-06 22:50:07 +03:00
Commands [trace][intelpt] Introduce instruction Ids 2022-04-06 12:19:36 -07:00
Core [lldb][gui] remove the "expand" diamond for variables where expanding fails 2022-04-07 21:59:18 +02:00
DataFormatters [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
Expression [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
Host [lldb] Update reinterpret_cast in linux/Host.cpp 2022-04-05 13:52:07 -07:00
Initialization [lldb] Remove FileSystem::Initialize from FileCollector 2022-03-03 13:22:38 -08:00
Interpreter Fix a mistyping introduced with the new container command. 2022-04-05 09:42:05 -07:00
Plugins [lldb] Fix building standalone LLDB on Windows. 2022-04-07 12:30:33 +03:00
Symbol [lldb] Change CreateMemoryInstance to take a WritableDataBuffer 2022-04-05 13:46:41 -07:00
Target [trace][intelpt] Introduce instruction Ids 2022-04-06 12:19:36 -07:00
Utility [lldb/source/Utility/DataExtractor.cpp] Update for `llvm::MD5::MD5Result` API change 2022-04-05 21:47:45 -07:00
Version [lldb] Fix LLDB_FULL_VERSION_STRING 2022-01-19 14:20:22 -08:00
CMakeLists.txt [lldb] Make lldbVersion a full fledged library 2021-12-08 15:14:34 -08:00