mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-19 08:31:52 +00:00
15 lines
856 B
Diff
15 lines
856 B
Diff
diff -Nur a/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp b/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp
|
|
--- a/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp 2022-01-23 01:26:53.000000000 +0100
|
|
+++ b/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp 2022-09-08 19:17:39.103577486 +0200
|
|
@@ -67,8 +67,8 @@
|
|
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(), (int)JsonStatus.code(),
|
|
+ JsonStatus.message().as_string());
|
|
return -1;
|
|
}
|
|
llvm::outs() << Output;
|