Skip to content

Commit

Permalink
Merge pull request grpc#7890 from yeputons/add-iwyu-pragmas-grpc-h
Browse files Browse the repository at this point in the history
Add IWYU export pragmas to grpc++/grpc++.h.
  • Loading branch information
nicolasnoble authored Sep 1, 2016
2 parents 1141aef + 93901a7 commit 29b75b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/grpc++/grpc++.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
#ifndef GRPCXX_GRPCXX_H
#define GRPCXX_GRPCXX_H

// Pragma for http://include-what-you-use.org/ tool, tells that following
// headers are not private for grpc++.h and are part of its interface.
// IWYU pragma: begin_exports
#include <grpc/grpc.h>

#include <grpc++/channel.h>
Expand All @@ -62,5 +65,6 @@
#include <grpc++/server_builder.h>
#include <grpc++/server_context.h>
#include <grpc++/server_posix.h>
// IWYU pragma: end_exports

#endif // GRPCXX_GRPCXX_H

0 comments on commit 29b75b1

Please sign in to comment.