llvm-project/lldb
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
..
bindings [lldb] Add Python bindings to print stack traces on crashes. 2022-04-07 11:21:02 -07:00
cmake [lldb] [CMake] Disable GCC's -Wstringop-truncation warning. NFC. 2022-04-07 12:09:01 +03:00
docs
examples
include/lldb [lldb][gui] handle Ctrl+C to stop a running process 2022-04-07 21:58:37 +02:00
packages/Python/lldbsuite [lldb] Add Python bindings to print stack traces on crashes. 2022-04-07 11:21:02 -07:00
resources
scripts
source [lldb][gui] remove the "expand" diamond for variables where expanding fails 2022-04-07 21:59:18 +02:00
test Revert "Reland "[Driver] Default CLANG_DEFAULT_PIE_ON_LINUX to ON""" 2022-04-07 10:07:07 -04:00
third_party/Python/module
tools Correct debugserver to write xmm/ymm/zmm reg values 2022-04-06 23:36:52 -07:00
unittests Disable LLDB index cache for .o files with no UUID. 2022-04-05 15:14:36 -07:00
utils
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py