diff options
author | Alex Langford <alangford@apple.com> | 2023-11-13 10:12:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 10:12:36 -0800 |
commit | ad20a9e1a15d1694f7ab3d878bcfaab3d52c5abf (patch) | |
tree | 65c4047e626c39eea86bd988479c84151600350a | |
parent | 876236023ce471324c43ca47a811562325197209 (diff) | |
download | llvm-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.h | 10 |
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); } |