llvm-project/lldb/source
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
..
API Made all other "operator bool"s explicit and ensured 2013-10-04 21:35:29 +00:00
Breakpoint Remove unused local variable. 2013-10-04 19:17:40 +00:00
Commands Made all other "operator bool"s explicit and ensured 2013-10-04 21:35:29 +00:00
Core Made all other "operator bool"s explicit and ensured 2013-10-04 21:35:29 +00:00
DataFormatters <rdar://problem/12042982> 2013-10-04 23:14:13 +00:00
Expression Changed the bool conversion operator on ConstString 2013-10-03 22:27:29 +00:00
Host Changed the bool conversion operator on ConstString 2013-10-03 22:27:29 +00:00
Interpreter <rdar://problem/14393032> 2013-09-30 19:11:51 +00:00
Plugins Made all other "operator bool"s explicit and ensured 2013-10-04 21:35:29 +00:00
Symbol Changed the bool conversion operator on ConstString 2013-10-03 22:27:29 +00:00
Target Changed the bool conversion operator on ConstString 2013-10-03 22:27:29 +00:00
Utility Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00
CMakeLists.txt Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00
Makefile Remove LLDB dependency on xcodeworkspace (on Linux) for version number 2013-02-28 16:51:15 +00:00
lldb-log.cpp The output of 'log list' was missing a few of the lldb channels: 2013-09-12 01:48:59 +00:00
lldb.cpp Remove useless declaration. If match_type == eNameMatchIgnore, we already left this function at the beginning of the method. Found by coverity. Fixes CID 1094188 2013-09-28 15:35:02 +00:00