================ @@ -81,6 +81,10 @@ bool operator==(const Request &a, const Request &b) { return a.id == b.id && a.method == b.method && a.params == b.params; } +void PrintTo(const Request &req, std::ostream *os) { + *os << formatv("{0}", toJSON(req)).str(); +} ---------------- ashgti wrote:
Sure, I can move it into a support file there. I figured this would likely be unreachable code in a normal build, since only the unit tests would have a reference to this, but I'll move it out. https://github.com/llvm/llvm-project/pull/155460 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits