llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Alex Langford (bulbazord) <details> <summary>Changes</summary> This method is completely unused. --- Full diff: https://github.com/llvm/llvm-project/pull/71994.diff 1 Files Affected: - (modified) lldb/include/lldb/Utility/StructuredData.h (-10) ``````````diff diff --git a/lldb/include/lldb/Utility/StructuredData.h b/lldb/include/lldb/Utility/StructuredData.h index 8d0ae372f43c6bf..e7ee12868512f4a 100644 --- a/lldb/include/lldb/Utility/StructuredData.h +++ b/lldb/include/lldb/Utility/StructuredData.h @@ -276,16 +276,6 @@ class StructuredData { 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); } `````````` </details> https://github.com/llvm/llvm-project/pull/71994 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits