================
@@ -109,6 +109,22 @@ class SBStructuredData {
   /// Return the generic pointer if this data structure is a generic type.
   lldb::SBScriptObject GetGenericValue() const;
 
+  void SetValueForKey(const char *key, SBStructuredData &value) const;
----------------
medismailben wrote:

> Is that asymmetry desirable? If I say "add value for key" to an 
> SBStructuredData that held an Integer, why don't you convert it to a dict and 
> add this value?

@jimingham  how would that work ? To what key would you assign the previous 
value the was in the structured data ?

https://github.com/llvm/llvm-project/pull/154445
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to