MatzeB updated this revision to Diff 499909. Repository: rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION https://reviews.llvm.org/D144599/new/ https://reviews.llvm.org/D144599 Files: clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp Index: clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp =================================================================== --- clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp +++ clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp @@ -67,8 +67,9 @@ google::protobuf::util::MessageToJsonString(Response, &Output, Options); if (!JsonStatus.ok()) { clang::clangd::elog("Can not convert response ({0}) to JSON ({1}): {2}\n", - Response.DebugString(), JsonStatus.error_code(), - JsonStatus.error_message().as_string()); + Response.DebugString(), + static_cast<int>(JsonStatus.code()), + JsonStatus.message().as_string()); return -1; } llvm::outs() << Output;
Index: clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp =================================================================== --- clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp +++ clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp @@ -67,8 +67,9 @@ google::protobuf::util::MessageToJsonString(Response, &Output, Options); if (!JsonStatus.ok()) { clang::clangd::elog("Can not convert response ({0}) to JSON ({1}): {2}\n", - Response.DebugString(), JsonStatus.error_code(), - JsonStatus.error_message().as_string()); + Response.DebugString(), + static_cast<int>(JsonStatus.code()), + JsonStatus.message().as_string()); return -1; } llvm::outs() << Output;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits