mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 05:29:45 +00:00
16 lines
994 B
Diff
16 lines
994 B
Diff
Index: llvm-toolchain-snapshot_16~++20221126040739+502c246519ec/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_16~++20221126040739+502c246519ec.orig/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp
|
|
+++ llvm-toolchain-snapshot_16~++20221126040739+502c246519ec/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp
|
|
@@ -67,8 +67,8 @@ int main(int argc, char *argv[]) {
|
|
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;
|