diff options
author | Enrico Granata <egranata@apple.com> | 2012-03-13 00:25:59 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2012-03-13 00:25:59 +0000 |
commit | 8c69c96dc99d91cc5a391ad026f46a30b062fbed (patch) | |
tree | fdfc56105cb45f11f20fc2cf95963494c7bd39a8 /lldb/examples/summaries/cocoa/NSSet.py | |
parent | b1e8a53e0b65ea6ebd11620ff6d91bdf9ec5a1cb (diff) | |
download | bcm5719-llvm-8c69c96dc99d91cc5a391ad026f46a30b062fbed.tar.gz bcm5719-llvm-8c69c96dc99d91cc5a391ad026f46a30b062fbed.zip |
Changed several of the Cocoa formatters to match the output style that Xcode uses internally to provide summaries
This has been done for those summaries where the difference is only cosmetic (e.g. naming things as items instead of values, ...)
The LLDB output style has been preserved when it provides more information (e.g. telling the type as well as the value of an NSNumber)
Test cases have been updated to reflect the updated output style where necessary
llvm-svn: 152592
Diffstat (limited to 'lldb/examples/summaries/cocoa/NSSet.py')
-rw-r--r-- | lldb/examples/summaries/cocoa/NSSet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/summaries/cocoa/NSSet.py b/lldb/examples/summaries/cocoa/NSSet.py index 4abf703e1a9..ea410cf46f2 100644 --- a/lldb/examples/summaries/cocoa/NSSet.py +++ b/lldb/examples/summaries/cocoa/NSSet.py @@ -225,7 +225,7 @@ def NSSet_SummaryProvider2 (valobj,dict): else: if provider.sys_params.is_64_bit: summary = summary & ~0x1fff000000000000 - summary = str(summary) + (' objects' if summary > 1 else ' object') + summary = '@"' + str(summary) + (' values"' if summary > 1 else ' value"') return summary return '' |