[Lldb-commits] [lldb] [lldb/API] Add setters to SBStructuredData (PR #154445)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 20 10:48:47 PDT 2025
================
@@ -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
More information about the lldb-commits
mailing list