llvm-project/lldb/test/lang/c
Enrico Granata a29cb0bada <rdar://problem/12042982>
This radar extends the notion of one-liner summaries to automagically apply in a few interesting cases

More specifically, this checkin changes the printout of ValueObjects to print on one-line (as if type summary add -c had been applied) iff:
this ValueObject does not have a summary
its children have no synthetic children
its children are not a non-empty base class without a summary
its children do not have a summary that asks for children to show up
the aggregate length of all the names of all the children is <= 50 characters
you did not ask to see the types during a printout
your pointer depth is 0

This is meant to simplify the way LLDB shows data on screen for small structs and similarly compact data types (e.g. std::pair<int,int> anyone?)

Feedback is especially welcome on how the feature feels and corner cases where we should apply this printout and don't (or viceversa, we are applying it when we shouldn't be)

llvm-svn: 191996
2013-10-04 23:14:13 +00:00
..
anonymous <rdar://problem/12042982> 2013-10-04 23:14:13 +00:00
array_types Fix single whitespace before breakpoint filename in some tests due to r183932. 2013-06-17 19:00:31 +00:00
bitfields Adds a test for 'target module dump symfile' to the LLDB suite. 2013-07-31 20:01:04 +00:00
blocks merge lldb-platform-work branch (and assorted fixes) into trunk 2013-08-26 23:57:52 +00:00
const_variables Update break conditions test to have consistent behaviour on all test suite compilers. 2013-07-31 16:27:27 +00:00
enum_types Fixed enum printing for negative enums. There previously was no testing to validate that enum values were being displayed correctly. 2013-03-06 06:23:54 +00:00
forward <rdar://problem/12028723> 2013-01-09 20:12:53 +00:00
function_types Expression evaluation works on FreeBSD after switch to MCJIT 2013-08-30 14:05:22 +00:00
global_variables Set shared library path on FreeBSD as on Linux for tests 2013-09-09 01:16:43 +00:00
inlines Move top level inlines dir to reside under lang/c. 2011-06-27 21:55:59 +00:00
recurse Move top level recurse dir to reside under lang/c. 2011-06-27 21:57:58 +00:00
set_values <rdar://problem/12798131> 2012-12-04 00:32:51 +00:00
shared_lib Set shared library path on FreeBSD as on Linux for tests 2013-09-09 00:40:46 +00:00
shared_lib_stripped_symbols Set shared library path on FreeBSD as on Linux for tests 2013-09-09 00:40:46 +00:00
stepping test: Update FreeBSD failure decorators 2013-09-13 15:34:59 +00:00
strings Expression evaluation works on FreeBSD after switch to MCJIT 2013-08-30 14:05:22 +00:00
struct_types Additional fixes/xfails for icc tests 2013-08-05 17:12:35 +00:00