[Lldb-commits] [lldb] [lldb] Check for abstract methods implementation in Scripted Plugin Objects (PR #71260)
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Sat Nov 4 20:03:23 PDT 2023
================
@@ -663,6 +663,18 @@ bool PythonDictionary::Check(PyObject *py_obj) {
return PyDict_Check(py_obj);
}
+bool PythonDictionary::HasKey(const llvm::Twine &key) const {
+ if (!IsValid())
+ return false;
+ PythonString key_object(key.str().data());
----------------
medismailben wrote:
Good point!
https://github.com/llvm/llvm-project/pull/71260
More information about the lldb-commits
mailing list