[PATCH] D79487: [clangd] NFC: Use deprecated grpc++ headers for compatibility
Kirill Bobyrev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 6 06:25:00 PDT 2020
kbobyrev created this revision.
kbobyrev added a reviewer: sammccall.
Herald added subscribers: cfe-commits, usaxena95, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.
Ubuntu 18.04 and older versions do not provide latest gRCP packages and the
ones that are in the repository use deprecated headers. Use these headers to
make builds possible.
https://packages.ubuntu.com/bionic/amd64/libgrpc++-dev/filelist
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79487
Files:
clang-tools-extra/clangd/index/remote/Client.cpp
clang-tools-extra/clangd/index/remote/server/Server.cpp
Index: clang-tools-extra/clangd/index/remote/server/Server.cpp
===================================================================
--- clang-tools-extra/clangd/index/remote/server/Server.cpp
+++ clang-tools-extra/clangd/index/remote/server/Server.cpp
@@ -13,8 +13,8 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Signals.h"
-#include <grpcpp/grpcpp.h>
-#include <grpcpp/health_check_service_interface.h>
+#include <grpc++/grpc++.h>
+#include <grpc++/health_check_service_interface.h>
#include "Index.grpc.pb.h"
Index: clang-tools-extra/clangd/index/remote/Client.cpp
===================================================================
--- clang-tools-extra/clangd/index/remote/Client.cpp
+++ clang-tools-extra/clangd/index/remote/Client.cpp
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include <grpcpp/grpcpp.h>
+#include <grpc++/grpc++.h>
#include "Client.h"
#include "Index.grpc.pb.h"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79487.262354.patch
Type: text/x-patch
Size: 978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200506/c5550dbf/attachment.bin>
More information about the cfe-commits
mailing list