From 88c643b6fec27eec436c8d138fee6346e92337d6 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 20 Aug 2019 18:01:57 +0000 Subject: Remove upstream files and directories from vendor/lldb/dist that we do not use. This saves on repository space, and reduces the number of tree conflicts when merging. --- examples/summaries/cocoa/Class.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 examples/summaries/cocoa/Class.py (limited to 'examples/summaries/cocoa/Class.py') diff --git a/examples/summaries/cocoa/Class.py b/examples/summaries/cocoa/Class.py deleted file mode 100644 index 1c97ed8965f5..000000000000 --- a/examples/summaries/cocoa/Class.py +++ /dev/null @@ -1,22 +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 -import lldb.runtime.objc.objc_runtime -import lldb.formatters.Logger - - -def Class_Summary(valobj, dict): - logger = lldb.formatters.Logger.Logger() - runtime = lldb.runtime.objc.objc_runtime.ObjCRuntime.runtime_from_isa( - valobj) - if runtime is None or not runtime.is_valid(): - return '' - class_data = runtime.read_class_data() - if class_data is None or not class_data.is_valid(): - return '' - return class_data.class_name() -- cgit v1.2.3