aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2023-11-13 10:12:36 -0800
committerGitHub <noreply@github.com>2023-11-13 10:12:36 -0800
commitad20a9e1a15d1694f7ab3d878bcfaab3d52c5abf (patch)
tree65c4047e626c39eea86bd988479c84151600350a
parent876236023ce471324c43ca47a811562325197209 (diff)
downloadllvm-ad20a9e1a15d1694f7ab3d878bcfaab3d52c5abf.zip
llvm-ad20a9e1a15d1694f7ab3d878bcfaab3d52c5abf.tar.gz
llvm-ad20a9e1a15d1694f7ab3d878bcfaab3d52c5abf.tar.bz2
[lldb] Remove StructuredData::Array::GetItemAtIndexAsArray (#71994)
This method is completely unused.
-rw-r--r--lldb/include/lldb/Utility/StructuredData.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/lldb/include/lldb/Utility/StructuredData.h b/lldb/include/lldb/Utility/StructuredData.h
index 8d0ae37..e7ee128 100644
--- a/lldb/include/lldb/Utility/StructuredData.h
+++ b/lldb/include/lldb/Utility/StructuredData.h
@@ -276,16 +276,6 @@ public:
return {};
}
- bool GetItemAtIndexAsArray(size_t idx, Array *&result) const {
- result = nullptr;
- ObjectSP value_sp = GetItemAtIndex(idx);
- if (value_sp.get()) {
- result = value_sp->GetAsArray();
- return (result != nullptr);
- }
- return false;
- }
-
void Push(const ObjectSP &item) { m_items.push_back(item); }
void AddItem(const ObjectSP &item) { m_items.push_back(item); }