@@ -45,7 +45,6 @@ struct Request {
4545llvm::json::Value toJSON (const Request &);
4646bool fromJSON (const llvm::json::Value &, Request &, llvm::json::Path);
4747bool operator ==(const Request &, const Request &);
48- void PrintTo (const Request &req, std::ostream *os);
4948
5049enum ErrorCode : signed {
5150 // / Invalid JSON was received by the server. An error occurred on the server
@@ -92,7 +91,6 @@ struct Response {
9291llvm::json::Value toJSON (const Response &);
9392bool fromJSON (const llvm::json::Value &, Response &, llvm::json::Path);
9493bool operator ==(const Response &, const Response &);
95- void PrintTo (const Response &resp, std::ostream *os);
9694
9795// / A notification which does not expect a response.
9896// / See
@@ -106,7 +104,6 @@ struct Notification {
106104llvm::json::Value toJSON (const Notification &);
107105bool fromJSON (const llvm::json::Value &, Notification &, llvm::json::Path);
108106bool operator ==(const Notification &, const Notification &);
109- void PrintTo (const Notification ¬e, std::ostream *os);
110107
111108// / A general message as defined by the JSON-RPC 2.0 spec.
112109using Message = std::variant<Request, Response, Notification>;
@@ -116,7 +113,6 @@ static_assert(std::is_convertible_v<Message, Message>,
116113 " Message is not convertible to itself" );
117114bool fromJSON (const llvm::json::Value &, Message &, llvm::json::Path);
118115llvm::json::Value toJSON (const Message &);
119- void PrintTo (const Message &message, std::ostream *os);
120116
121117// / A known resource that the server is capable of reading.
122118// /
0 commit comments