================
@@ -43,6 +43,32 @@ bool fromJSON(const json::Value &Params, Source &S, 
json::Path P) {
          O.map("sourceReference", S.sourceReference);
 }
 
+static llvm::json::Value ToString(PresentationHint hint) {
----------------
ashgti wrote:

toJSON?

Then on line 67 you don't need to add `ToString`, it would be handled by the 
existing overloads.

https://github.com/llvm/llvm-project/pull/137448
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to