================
@@ -466,7 +466,7 @@ struct SetVariableResponseBody {
   /// If this property is included in the response, any `variablesReference`
   /// previously associated with the updated variable, and those of its
   /// children, are no longer valid.
-  uint64_t variablesReference = 0;
+  var_ref_t variablesReference{0};
----------------
ashgti wrote:

Should we make it more obvious what 0 represents here with something like 
`var_ref_t::kNone` or `LLDB_DAP_VAR_REF_NONE`?

Or we could use a default constructor on var_ref_t to set it to 0/None.

https://github.com/llvm/llvm-project/pull/179262
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to