Skip to content

Commit 9c198b5

Browse files
committed
[clangd] NFC: Use deprecated grpc++ headers for compatibility
Summary: 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 Reviewers: sammccall Reviewed By: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D79487
1 parent 6ab09e7 commit 9c198b5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang-tools-extra/clangd/index/remote/Client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <grpcpp/grpcpp.h>
9+
#include <grpc++/grpc++.h>
1010

1111
#include "Client.h"
1212
#include "Index.grpc.pb.h"

clang-tools-extra/clangd/index/remote/server/Server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#include "llvm/Support/CommandLine.h"
1414
#include "llvm/Support/Signals.h"
1515

16-
#include <grpcpp/grpcpp.h>
17-
#include <grpcpp/health_check_service_interface.h>
16+
#include <grpc++/grpc++.h>
17+
#include <grpc++/health_check_service_interface.h>
1818

1919
#include "Index.grpc.pb.h"
2020

0 commit comments

Comments
 (0)