================ @@ -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; ---------------- jimingham wrote:
Also, while it's kind of cool that you are able to fool the compiler into thinking these methods are const, the very much change the object in question, so I'm not sure marking them as const is helpful. 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