[Lldb-commits] [lldb] [lldb-dap] Refactor variablesReference storage and scope management. (PR #179262)

Sergei Druzhkov via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 13 10:55:16 PST 2026


================
@@ -4,6 +4,17 @@
 
 using namespace llvm;
 
+namespace lldb_dap {
+
+bool fromJSON(const json::Value &E, var_ref_t &Out, json::Path P) {
+  if (auto S = E.getAsInteger()) {
+    Out = var_ref_t(*S);
+    return true;
+  }
+  P.report("expected unsigned integer");
+  return false;
+}
+} // namespace lldb_dap
----------------
DrSergei wrote:

Add empty lines around

https://github.com/llvm/llvm-project/pull/179262


More information about the lldb-commits mailing list