diff options
author | Enrico Granata <egranata@apple.com> | 2012-03-13 21:52:00 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2012-03-13 21:52:00 +0000 |
commit | 3f1052b7cf882ab564c30067dae8a28efced58e6 (patch) | |
tree | b0fb26b99d2b6295bbdd4904699bbfd2fd043ad1 /lldb/examples/summaries/cocoa/attrib_fromdict.py | |
parent | 08441ba45e1dcc1732038bfff7e3f95eb80c0d54 (diff) | |
download | bcm5719-llvm-3f1052b7cf882ab564c30067dae8a28efced58e6.tar.gz bcm5719-llvm-3f1052b7cf882ab564c30067dae8a28efced58e6.zip |
The Cocoa formatters now provide error messages for many of the common things-went-wrong situations. Previously they would say nothing or log failures to the Python console
llvm-svn: 152673
Diffstat (limited to 'lldb/examples/summaries/cocoa/attrib_fromdict.py')
-rw-r--r-- | lldb/examples/summaries/cocoa/attrib_fromdict.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/examples/summaries/cocoa/attrib_fromdict.py b/lldb/examples/summaries/cocoa/attrib_fromdict.py index 8ecd9ed27be..86964d602b5 100644 --- a/lldb/examples/summaries/cocoa/attrib_fromdict.py +++ b/lldb/examples/summaries/cocoa/attrib_fromdict.py @@ -1,3 +1,10 @@ +""" +Objective-C runtime wrapper for use by LLDB Python formatters + +part of The LLVM Compiler Infrastructure +This file is distributed under the University of Illinois Open Source +License. See LICENSE.TXT for details. +""" class AttributesDictionary: def __init__(self, allow_reset = True): self.__dict__['_dictionary'] = {} # need to do it this way to prevent endless recursion |