aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/grpc++.h
diff options
context:
space:
mode:
authorGravatar Egor Suvorov <yeputons@google.com>2016-08-26 16:26:23 -0400
committerGravatar Egor Suvorov <yeputons@google.com>2016-08-26 16:26:23 -0400
commit650ae16bf7911bad69707c27ae3fd88e375771e1 (patch)
tree6c3357ecf4b3175dfffa8f04b4b9a73729543c8c /include/grpc++/grpc++.h
parent4275e60eb686ceb202c042fe578c9cf992e590d0 (diff)
Add IWYU export pragmas to grpc++/grpc++.h.
IWYU is a C++ tool which ensures that end users explicitly #include every header they need. Without pragmas IWYU have no way of distinguishing between 'implementation-specific' headers and headers which are shortcuts for groups of other headers, like grpc++.h.
Diffstat (limited to 'include/grpc++/grpc++.h')
-rw-r--r--include/grpc++/grpc++.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc++/grpc++.h b/include/grpc++/grpc++.h
index ef07e19975..e4b0478d77 100644
--- a/include/grpc++/grpc++.h
+++ b/include/grpc++/grpc++.h
@@ -51,6 +51,7 @@
#ifndef GRPCXX_GRPCXX_H
#define GRPCXX_GRPCXX_H
+// IWYU pragma: begin_exports
#include <grpc/grpc.h>
#include <grpc++/channel.h>
@@ -62,5 +63,6 @@
#include <grpc++/server_builder.h>
#include <grpc++/server_context.h>
#include <grpc++/server_posix.h>
+// IWYU pragma: end_exports
#endif // GRPCXX_GRPCXX_H