summaryrefslogtreecommitdiff
path: root/examples/summaries/cocoa/Selector.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/summaries/cocoa/Selector.py')
-rw-r--r--examples/summaries/cocoa/Selector.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/summaries/cocoa/Selector.py b/examples/summaries/cocoa/Selector.py
deleted file mode 100644
index 05a19606505e..000000000000
--- a/examples/summaries/cocoa/Selector.py
+++ /dev/null
@@ -1,19 +0,0 @@
-"""
-LLDB AppKit formatters
-
-part of The LLVM Compiler Infrastructure
-This file is distributed under the University of Illinois Open Source
-License. See LICENSE.TXT for details.
-"""
-import lldb
-
-
-def SEL_Summary(valobj, dict):
- return valobj.Cast(valobj.GetType().GetBasicType(
- lldb.eBasicTypeChar).GetPointerType()).GetSummary()
-
-
-def SELPointer_Summary(valobj, dict):
- return valobj.CreateValueFromAddress(
- 'text', valobj.GetValueAsUnsigned(0), valobj.GetType().GetBasicType(
- lldb.eBasicTypeChar)).AddressOf().GetSummary()