================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits