Annotate impl/codegen with IWYU pragmas (#27252)

* Add a tool to annotate impl/codegen with IWYU pragmas

* xx

* oops

* fmt

* x

* fix wrong direction bug

* use defaultdict

* better annotations

* better annotations

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
pull/27175/head
Craig Tiller 4 years ago committed by GitHub
parent 6dfcc6140f
commit 28316341bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      include/grpc/byte_buffer.h
  2. 2
      include/grpc/byte_buffer_reader.h
  3. 2
      include/grpc/fork.h
  4. 8
      include/grpc/impl/codegen/atm.h
  5. 2
      include/grpc/impl/codegen/atm_gcc_atomic.h
  6. 2
      include/grpc/impl/codegen/atm_gcc_sync.h
  7. 2
      include/grpc/impl/codegen/atm_windows.h
  8. 2
      include/grpc/impl/codegen/byte_buffer.h
  9. 2
      include/grpc/impl/codegen/byte_buffer_reader.h
  10. 2
      include/grpc/impl/codegen/compression_types.h
  11. 2
      include/grpc/impl/codegen/connectivity_state.h
  12. 2
      include/grpc/impl/codegen/fork.h
  13. 2
      include/grpc/impl/codegen/gpr_slice.h
  14. 2
      include/grpc/impl/codegen/gpr_types.h
  15. 2
      include/grpc/impl/codegen/grpc_types.h
  16. 2
      include/grpc/impl/codegen/log.h
  17. 2
      include/grpc/impl/codegen/port_platform.h
  18. 2
      include/grpc/impl/codegen/propagation_bits.h
  19. 2
      include/grpc/impl/codegen/slice.h
  20. 2
      include/grpc/impl/codegen/status.h
  21. 13
      include/grpc/impl/codegen/sync.h
  22. 2
      include/grpc/impl/codegen/sync_abseil.h
  23. 2
      include/grpc/impl/codegen/sync_custom.h
  24. 3
      include/grpc/impl/codegen/sync_generic.h
  25. 2
      include/grpc/impl/codegen/sync_posix.h
  26. 2
      include/grpc/impl/codegen/sync_windows.h
  27. 2
      include/grpc/slice.h
  28. 2
      include/grpc/status.h
  29. 2
      include/grpc/support/atm.h
  30. 2
      include/grpc/support/atm_gcc_atomic.h
  31. 2
      include/grpc/support/atm_gcc_sync.h
  32. 2
      include/grpc/support/atm_windows.h
  33. 2
      include/grpc/support/log.h
  34. 2
      include/grpc/support/port_platform.h
  35. 2
      include/grpc/support/sync.h
  36. 2
      include/grpc/support/sync_abseil.h
  37. 2
      include/grpc/support/sync_custom.h
  38. 2
      include/grpc/support/sync_generic.h
  39. 2
      include/grpc/support/sync_posix.h
  40. 2
      include/grpc/support/sync_windows.h
  41. 2
      include/grpcpp/client_context.h
  42. 2
      include/grpcpp/completion_queue.h
  43. 2
      include/grpcpp/generic/async_generic_service.h
  44. 2
      include/grpcpp/impl/call.h
  45. 2
      include/grpcpp/impl/client_unary_call.h
  46. 2
      include/grpcpp/impl/codegen/async_generic_service.h
  47. 2
      include/grpcpp/impl/codegen/async_stream.h
  48. 2
      include/grpcpp/impl/codegen/async_unary_call.h
  49. 2
      include/grpcpp/impl/codegen/byte_buffer.h
  50. 2
      include/grpcpp/impl/codegen/call.h
  51. 2
      include/grpcpp/impl/codegen/call_hook.h
  52. 2
      include/grpcpp/impl/codegen/call_op_set.h
  53. 2
      include/grpcpp/impl/codegen/call_op_set_interface.h
  54. 2
      include/grpcpp/impl/codegen/callback_common.h
  55. 2
      include/grpcpp/impl/codegen/channel_interface.h
  56. 3
      include/grpcpp/impl/codegen/client_callback.h
  57. 2
      include/grpcpp/impl/codegen/client_context.h
  58. 2
      include/grpcpp/impl/codegen/client_interceptor.h
  59. 2
      include/grpcpp/impl/codegen/client_unary_call.h
  60. 2
      include/grpcpp/impl/codegen/completion_queue.h
  61. 2
      include/grpcpp/impl/codegen/completion_queue_tag.h
  62. 2
      include/grpcpp/impl/codegen/config.h
  63. 2
      include/grpcpp/impl/codegen/config_protobuf.h
  64. 2
      include/grpcpp/impl/codegen/core_codegen.h
  65. 2
      include/grpcpp/impl/codegen/core_codegen_interface.h
  66. 2
      include/grpcpp/impl/codegen/create_auth_context.h
  67. 2
      include/grpcpp/impl/codegen/delegating_channel.h
  68. 2
      include/grpcpp/impl/codegen/grpc_library.h
  69. 2
      include/grpcpp/impl/codegen/intercepted_channel.h
  70. 2
      include/grpcpp/impl/codegen/interceptor.h
  71. 2
      include/grpcpp/impl/codegen/interceptor_common.h
  72. 2
      include/grpcpp/impl/codegen/message_allocator.h
  73. 2
      include/grpcpp/impl/codegen/metadata_map.h
  74. 2
      include/grpcpp/impl/codegen/method_handler.h
  75. 2
      include/grpcpp/impl/codegen/method_handler_impl.h
  76. 2
      include/grpcpp/impl/codegen/proto_buffer_reader.h
  77. 2
      include/grpcpp/impl/codegen/proto_buffer_writer.h
  78. 2
      include/grpcpp/impl/codegen/proto_utils.h
  79. 2
      include/grpcpp/impl/codegen/rpc_method.h
  80. 2
      include/grpcpp/impl/codegen/rpc_service_method.h
  81. 2
      include/grpcpp/impl/codegen/security/auth_context.h
  82. 2
      include/grpcpp/impl/codegen/serialization_traits.h
  83. 2
      include/grpcpp/impl/codegen/server_callback.h
  84. 2
      include/grpcpp/impl/codegen/server_callback_handlers.h
  85. 2
      include/grpcpp/impl/codegen/server_context.h
  86. 2
      include/grpcpp/impl/codegen/server_interceptor.h
  87. 2
      include/grpcpp/impl/codegen/server_interface.h
  88. 2
      include/grpcpp/impl/codegen/service_type.h
  89. 2
      include/grpcpp/impl/codegen/slice.h
  90. 2
      include/grpcpp/impl/codegen/status.h
  91. 2
      include/grpcpp/impl/codegen/status_code_enum.h
  92. 2
      include/grpcpp/impl/codegen/string_ref.h
  93. 2
      include/grpcpp/impl/codegen/stub_options.h
  94. 2
      include/grpcpp/impl/codegen/sync.h
  95. 2
      include/grpcpp/impl/codegen/sync_stream.h
  96. 2
      include/grpcpp/impl/codegen/time.h
  97. 2
      include/grpcpp/impl/grpc_library.h
  98. 2
      include/grpcpp/impl/rpc_method.h
  99. 2
      include/grpcpp/impl/rpc_service_method.h
  100. 2
      include/grpcpp/impl/serialization_traits.h
  101. Some files were not shown because too many files have changed in this diff Show More

@ -21,7 +21,7 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/byte_buffer.h> #include <grpc/impl/codegen/byte_buffer.h> // IWYU pragma: export
#include <grpc/slice_buffer.h> #include <grpc/slice_buffer.h>
#endif /* GRPC_BYTE_BUFFER_H */ #endif /* GRPC_BYTE_BUFFER_H */

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/byte_buffer_reader.h> #include <grpc/impl/codegen/byte_buffer_reader.h> // IWYU pragma: export
#endif /* GRPC_BYTE_BUFFER_READER_H */ #endif /* GRPC_BYTE_BUFFER_READER_H */

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/fork.h> #include <grpc/impl/codegen/fork.h> // IWYU pragma: export
#endif /* GRPC_FORK_H */ #endif /* GRPC_FORK_H */

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_ATM_H #ifndef GRPC_IMPL_CODEGEN_ATM_H
#define GRPC_IMPL_CODEGEN_ATM_H #define GRPC_IMPL_CODEGEN_ATM_H
// IWYU pragma: private, include <grpc/support/atm.h>
/** This interface provides atomic operations and barriers. /** This interface provides atomic operations and barriers.
It is internal to gpr support code and should not be used outside it. It is internal to gpr support code and should not be used outside it.
@ -70,11 +72,11 @@
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#if defined(GPR_GCC_ATOMIC) #if defined(GPR_GCC_ATOMIC)
#include <grpc/impl/codegen/atm_gcc_atomic.h> #include <grpc/impl/codegen/atm_gcc_atomic.h> // IWYU pragma: export
#elif defined(GPR_GCC_SYNC) #elif defined(GPR_GCC_SYNC)
#include <grpc/impl/codegen/atm_gcc_sync.h> #include <grpc/impl/codegen/atm_gcc_sync.h> // IWYU pragma: export
#elif defined(GPR_WINDOWS_ATOMIC) #elif defined(GPR_WINDOWS_ATOMIC)
#include <grpc/impl/codegen/atm_windows.h> #include <grpc/impl/codegen/atm_windows.h> // IWYU pragma: export
#else #else
#error could not determine platform for atm #error could not determine platform for atm
#endif #endif

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_ATM_GCC_ATOMIC_H #ifndef GRPC_IMPL_CODEGEN_ATM_GCC_ATOMIC_H
#define GRPC_IMPL_CODEGEN_ATM_GCC_ATOMIC_H #define GRPC_IMPL_CODEGEN_ATM_GCC_ATOMIC_H
// IWYU pragma: private, include <grpc/support/atm.h>
/* atm_platform.h for gcc and gcc-like compilers with the /* atm_platform.h for gcc and gcc-like compilers with the
__atomic_* interface. */ __atomic_* interface. */
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_ATM_GCC_SYNC_H #ifndef GRPC_IMPL_CODEGEN_ATM_GCC_SYNC_H
#define GRPC_IMPL_CODEGEN_ATM_GCC_SYNC_H #define GRPC_IMPL_CODEGEN_ATM_GCC_SYNC_H
// IWYU pragma: private, include <grpc/support/atm.h>
/* variant of atm_platform.h for gcc and gcc-like compiers with __sync_* /* variant of atm_platform.h for gcc and gcc-like compiers with __sync_*
interface */ interface */
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_ATM_WINDOWS_H #ifndef GRPC_IMPL_CODEGEN_ATM_WINDOWS_H
#define GRPC_IMPL_CODEGEN_ATM_WINDOWS_H #define GRPC_IMPL_CODEGEN_ATM_WINDOWS_H
// IWYU pragma: private, include <grpc/support/atm.h>
/** Win32 variant of atm_platform.h */ /** Win32 variant of atm_platform.h */
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_BYTE_BUFFER_H #ifndef GRPC_IMPL_CODEGEN_BYTE_BUFFER_H
#define GRPC_IMPL_CODEGEN_BYTE_BUFFER_H #define GRPC_IMPL_CODEGEN_BYTE_BUFFER_H
// IWYU pragma: private, include <grpc/byte_buffer.h>
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#include <grpc/impl/codegen/grpc_types.h> #include <grpc/impl/codegen/grpc_types.h>

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_BYTE_BUFFER_READER_H #ifndef GRPC_IMPL_CODEGEN_BYTE_BUFFER_READER_H
#define GRPC_IMPL_CODEGEN_BYTE_BUFFER_READER_H #define GRPC_IMPL_CODEGEN_BYTE_BUFFER_READER_H
// IWYU pragma: private, include <grpc/byte_buffer_reader.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H #ifndef GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H
#define GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H #define GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H
// IWYU pragma: private
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#ifdef __cplusplus #ifdef __cplusplus

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_CONNECTIVITY_STATE_H #ifndef GRPC_IMPL_CODEGEN_CONNECTIVITY_STATE_H
#define GRPC_IMPL_CODEGEN_CONNECTIVITY_STATE_H #define GRPC_IMPL_CODEGEN_CONNECTIVITY_STATE_H
// IWYU pragma: private
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_FORK_H #ifndef GRPC_IMPL_CODEGEN_FORK_H
#define GRPC_IMPL_CODEGEN_FORK_H #define GRPC_IMPL_CODEGEN_FORK_H
// IWYU pragma: private, include <grpc/fork.h>
/** /**
* gRPC applications should call this before calling fork(). There should be no * gRPC applications should call this before calling fork(). There should be no
* active gRPC function calls between calling grpc_prefork() and * active gRPC function calls between calling grpc_prefork() and

@ -18,6 +18,8 @@
#ifndef GRPC_IMPL_CODEGEN_GPR_SLICE_H #ifndef GRPC_IMPL_CODEGEN_GPR_SLICE_H
#define GRPC_IMPL_CODEGEN_GPR_SLICE_H #define GRPC_IMPL_CODEGEN_GPR_SLICE_H
// IWYU pragma: private
/** WARNING: Please do not use this header. This was added as a temporary /** WARNING: Please do not use this header. This was added as a temporary
* measure to not break some of the external projects that depend on * measure to not break some of the external projects that depend on
* gpr_slice_* functions. We are actively working on moving all the * gpr_slice_* functions. We are actively working on moving all the

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_GPR_TYPES_H #ifndef GRPC_IMPL_CODEGEN_GPR_TYPES_H
#define GRPC_IMPL_CODEGEN_GPR_TYPES_H #define GRPC_IMPL_CODEGEN_GPR_TYPES_H
// IWYU pragma: private
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#include <stddef.h> #include <stddef.h>

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_GRPC_TYPES_H #ifndef GRPC_IMPL_CODEGEN_GRPC_TYPES_H
#define GRPC_IMPL_CODEGEN_GRPC_TYPES_H #define GRPC_IMPL_CODEGEN_GRPC_TYPES_H
// IWYU pragma: private
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#include <grpc/impl/codegen/compression_types.h> #include <grpc/impl/codegen/compression_types.h>

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_LOG_H #ifndef GRPC_IMPL_CODEGEN_LOG_H
#define GRPC_IMPL_CODEGEN_LOG_H #define GRPC_IMPL_CODEGEN_LOG_H
// IWYU pragma: private, include <grpc/support/log.h>
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#include <stdarg.h> #include <stdarg.h>

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_PORT_PLATFORM_H #ifndef GRPC_IMPL_CODEGEN_PORT_PLATFORM_H
#define GRPC_IMPL_CODEGEN_PORT_PLATFORM_H #define GRPC_IMPL_CODEGEN_PORT_PLATFORM_H
// IWYU pragma: private, include <grpc/support/port_platform.h>
/* /*
* Define GPR_BACKWARDS_COMPATIBILITY_MODE to try harder to be ABI * Define GPR_BACKWARDS_COMPATIBILITY_MODE to try harder to be ABI
* compatible with older platforms (currently only on Linux) * compatible with older platforms (currently only on Linux)

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_PROPAGATION_BITS_H #ifndef GRPC_IMPL_CODEGEN_PROPAGATION_BITS_H
#define GRPC_IMPL_CODEGEN_PROPAGATION_BITS_H #define GRPC_IMPL_CODEGEN_PROPAGATION_BITS_H
// IWYU pragma: private
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#ifdef __cplusplus #ifdef __cplusplus

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_SLICE_H #ifndef GRPC_IMPL_CODEGEN_SLICE_H
#define GRPC_IMPL_CODEGEN_SLICE_H #define GRPC_IMPL_CODEGEN_SLICE_H
// IWYU pragma: private, include <grpc/slice.h>
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#include <stddef.h> #include <stddef.h>

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_STATUS_H #ifndef GRPC_IMPL_CODEGEN_STATUS_H
#define GRPC_IMPL_CODEGEN_STATUS_H #define GRPC_IMPL_CODEGEN_STATUS_H
// IWYU pragma: private, include <grpc/status.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

@ -18,6 +18,9 @@
#ifndef GRPC_IMPL_CODEGEN_SYNC_H #ifndef GRPC_IMPL_CODEGEN_SYNC_H
#define GRPC_IMPL_CODEGEN_SYNC_H #define GRPC_IMPL_CODEGEN_SYNC_H
// IWYU pragma: private, include <grpc/support/sync.h>
/** Synchronization primitives for GPR. /** Synchronization primitives for GPR.
The type gpr_mu provides a non-reentrant mutex (lock). The type gpr_mu provides a non-reentrant mutex (lock).
@ -44,16 +47,16 @@ extern "C" {
/* Platform-specific type declarations of gpr_mu and gpr_cv. */ /* Platform-specific type declarations of gpr_mu and gpr_cv. */
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#include <grpc/impl/codegen/sync_generic.h> #include <grpc/impl/codegen/sync_generic.h> // IWYU pragma: export
#if defined(GPR_CUSTOM_SYNC) #if defined(GPR_CUSTOM_SYNC)
#include <grpc/impl/codegen/sync_custom.h> #include <grpc/impl/codegen/sync_custom.h> // IWYU pragma: export
#elif defined(GPR_ABSEIL_SYNC) #elif defined(GPR_ABSEIL_SYNC)
#include <grpc/impl/codegen/sync_abseil.h> #include <grpc/impl/codegen/sync_abseil.h> // IWYU pragma: export
#elif defined(GPR_POSIX_SYNC) #elif defined(GPR_POSIX_SYNC)
#include <grpc/impl/codegen/sync_posix.h> #include <grpc/impl/codegen/sync_posix.h> // IWYU pragma: export
#elif defined(GPR_WINDOWS) #elif defined(GPR_WINDOWS)
#include <grpc/impl/codegen/sync_windows.h> #include <grpc/impl/codegen/sync_windows.h> // IWYU pragma: export
#else #else
#error Unable to determine platform for sync #error Unable to determine platform for sync
#endif #endif

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_SYNC_ABSEIL_H #ifndef GRPC_IMPL_CODEGEN_SYNC_ABSEIL_H
#define GRPC_IMPL_CODEGEN_SYNC_ABSEIL_H #define GRPC_IMPL_CODEGEN_SYNC_ABSEIL_H
// IWYU pragma: private, include <grpc/support/sync.h>
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#include <grpc/impl/codegen/sync_generic.h> #include <grpc/impl/codegen/sync_generic.h>

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_SYNC_CUSTOM_H #ifndef GRPC_IMPL_CODEGEN_SYNC_CUSTOM_H
#define GRPC_IMPL_CODEGEN_SYNC_CUSTOM_H #define GRPC_IMPL_CODEGEN_SYNC_CUSTOM_H
// IWYU pragma: private, include <grpc/support/sync.h>
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#include <grpc/impl/codegen/sync_generic.h> #include <grpc/impl/codegen/sync_generic.h>

@ -18,6 +18,9 @@
#ifndef GRPC_IMPL_CODEGEN_SYNC_GENERIC_H #ifndef GRPC_IMPL_CODEGEN_SYNC_GENERIC_H
#define GRPC_IMPL_CODEGEN_SYNC_GENERIC_H #define GRPC_IMPL_CODEGEN_SYNC_GENERIC_H
// IWYU pragma: private, include <grpc/support/sync.h>
/* Generic type definitions for gpr_sync. */ /* Generic type definitions for gpr_sync. */
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_SYNC_POSIX_H #ifndef GRPC_IMPL_CODEGEN_SYNC_POSIX_H
#define GRPC_IMPL_CODEGEN_SYNC_POSIX_H #define GRPC_IMPL_CODEGEN_SYNC_POSIX_H
// IWYU pragma: private, include <grpc/support/sync.h>
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#include <grpc/impl/codegen/sync_generic.h> #include <grpc/impl/codegen/sync_generic.h>

@ -19,6 +19,8 @@
#ifndef GRPC_IMPL_CODEGEN_SYNC_WINDOWS_H #ifndef GRPC_IMPL_CODEGEN_SYNC_WINDOWS_H
#define GRPC_IMPL_CODEGEN_SYNC_WINDOWS_H #define GRPC_IMPL_CODEGEN_SYNC_WINDOWS_H
// IWYU pragma: private, include <grpc/support/sync.h>
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#ifdef GPR_WINDOWS #ifdef GPR_WINDOWS

@ -21,7 +21,7 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/slice.h> #include <grpc/impl/codegen/slice.h> // IWYU pragma: export
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
#ifdef __cplusplus #ifdef __cplusplus

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/status.h> #include <grpc/impl/codegen/status.h> // IWYU pragma: export
#endif /* GRPC_STATUS_H */ #endif /* GRPC_STATUS_H */

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/atm.h> #include <grpc/impl/codegen/atm.h> // IWYU pragma: export
#endif /* GRPC_SUPPORT_ATM_H */ #endif /* GRPC_SUPPORT_ATM_H */

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/atm_gcc_atomic.h> #include <grpc/impl/codegen/atm_gcc_atomic.h> // IWYU pragma: export
#endif /* GRPC_SUPPORT_ATM_GCC_ATOMIC_H */ #endif /* GRPC_SUPPORT_ATM_GCC_ATOMIC_H */

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/atm_gcc_sync.h> #include <grpc/impl/codegen/atm_gcc_sync.h> // IWYU pragma: export
#endif /* GRPC_SUPPORT_ATM_GCC_SYNC_H */ #endif /* GRPC_SUPPORT_ATM_GCC_SYNC_H */

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/atm_windows.h> #include <grpc/impl/codegen/atm_windows.h> // IWYU pragma: export
#endif /* GRPC_SUPPORT_ATM_WINDOWS_H */ #endif /* GRPC_SUPPORT_ATM_WINDOWS_H */

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/log.h> #include <grpc/impl/codegen/log.h> // IWYU pragma: export
#endif /* GRPC_SUPPORT_LOG_H */ #endif /* GRPC_SUPPORT_LOG_H */

@ -19,6 +19,6 @@
#ifndef GRPC_SUPPORT_PORT_PLATFORM_H #ifndef GRPC_SUPPORT_PORT_PLATFORM_H
#define GRPC_SUPPORT_PORT_PLATFORM_H #define GRPC_SUPPORT_PORT_PLATFORM_H
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h> // IWYU pragma: export
#endif /* GRPC_SUPPORT_PORT_PLATFORM_H */ #endif /* GRPC_SUPPORT_PORT_PLATFORM_H */

@ -22,7 +22,7 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/gpr_types.h> /* for gpr_timespec */ #include <grpc/impl/codegen/gpr_types.h> /* for gpr_timespec */
#include <grpc/impl/codegen/sync.h> #include <grpc/impl/codegen/sync.h> // IWYU pragma: export
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/sync_abseil.h> #include <grpc/impl/codegen/sync_abseil.h> // IWYU pragma: export
#endif /* GRPC_SUPPORT_SYNC_ABSEIL_H */ #endif /* GRPC_SUPPORT_SYNC_ABSEIL_H */

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/sync_custom.h> #include <grpc/impl/codegen/sync_custom.h> // IWYU pragma: export
#endif /* GRPC_SUPPORT_SYNC_CUSTOM_H */ #endif /* GRPC_SUPPORT_SYNC_CUSTOM_H */

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/sync_generic.h> #include <grpc/impl/codegen/sync_generic.h> // IWYU pragma: export
#endif /* GRPC_SUPPORT_SYNC_GENERIC_H */ #endif /* GRPC_SUPPORT_SYNC_GENERIC_H */

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/sync_posix.h> #include <grpc/impl/codegen/sync_posix.h> // IWYU pragma: export
#endif /* GRPC_SUPPORT_SYNC_POSIX_H */ #endif /* GRPC_SUPPORT_SYNC_POSIX_H */

@ -21,6 +21,6 @@
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/sync_windows.h> #include <grpc/impl/codegen/sync_windows.h> // IWYU pragma: export
#endif /* GRPC_SUPPORT_SYNC_WINDOWS_H */ #endif /* GRPC_SUPPORT_SYNC_WINDOWS_H */

@ -34,6 +34,6 @@
#ifndef GRPCPP_CLIENT_CONTEXT_H #ifndef GRPCPP_CLIENT_CONTEXT_H
#define GRPCPP_CLIENT_CONTEXT_H #define GRPCPP_CLIENT_CONTEXT_H
#include <grpcpp/impl/codegen/client_context.h> #include <grpcpp/impl/codegen/client_context.h> // IWYU pragma: export
#endif // GRPCPP_CLIENT_CONTEXT_H #endif // GRPCPP_CLIENT_CONTEXT_H

@ -19,6 +19,6 @@
#ifndef GRPCPP_COMPLETION_QUEUE_H #ifndef GRPCPP_COMPLETION_QUEUE_H
#define GRPCPP_COMPLETION_QUEUE_H #define GRPCPP_COMPLETION_QUEUE_H
#include <grpcpp/impl/codegen/completion_queue.h> #include <grpcpp/impl/codegen/completion_queue.h> // IWYU pragma: export
#endif // GRPCPP_COMPLETION_QUEUE_H #endif // GRPCPP_COMPLETION_QUEUE_H

@ -19,6 +19,6 @@
#ifndef GRPCPP_GENERIC_ASYNC_GENERIC_SERVICE_H #ifndef GRPCPP_GENERIC_ASYNC_GENERIC_SERVICE_H
#define GRPCPP_GENERIC_ASYNC_GENERIC_SERVICE_H #define GRPCPP_GENERIC_ASYNC_GENERIC_SERVICE_H
#include <grpcpp/impl/codegen/async_generic_service.h> #include <grpcpp/impl/codegen/async_generic_service.h> // IWYU pragma: export
#endif // GRPCPP_GENERIC_ASYNC_GENERIC_SERVICE_H #endif // GRPCPP_GENERIC_ASYNC_GENERIC_SERVICE_H

@ -19,6 +19,6 @@
#ifndef GRPCPP_IMPL_CALL_H #ifndef GRPCPP_IMPL_CALL_H
#define GRPCPP_IMPL_CALL_H #define GRPCPP_IMPL_CALL_H
#include <grpcpp/impl/codegen/call.h> #include <grpcpp/impl/codegen/call.h> // IWYU pragma: export
#endif // GRPCPP_IMPL_CALL_H #endif // GRPCPP_IMPL_CALL_H

@ -19,6 +19,6 @@
#ifndef GRPCPP_IMPL_CLIENT_UNARY_CALL_H #ifndef GRPCPP_IMPL_CLIENT_UNARY_CALL_H
#define GRPCPP_IMPL_CLIENT_UNARY_CALL_H #define GRPCPP_IMPL_CLIENT_UNARY_CALL_H
#include <grpcpp/impl/codegen/client_unary_call.h> #include <grpcpp/impl/codegen/client_unary_call.h> // IWYU pragma: export
#endif // GRPCPP_IMPL_CLIENT_UNARY_CALL_H #endif // GRPCPP_IMPL_CLIENT_UNARY_CALL_H

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_ASYNC_GENERIC_SERVICE_H #ifndef GRPCPP_IMPL_CODEGEN_ASYNC_GENERIC_SERVICE_H
#define GRPCPP_IMPL_CODEGEN_ASYNC_GENERIC_SERVICE_H #define GRPCPP_IMPL_CODEGEN_ASYNC_GENERIC_SERVICE_H
// IWYU pragma: private, include <grpcpp/generic/async_generic_service.h>
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#include <grpcpp/impl/codegen/async_stream.h> #include <grpcpp/impl/codegen/async_stream.h>

@ -18,6 +18,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_ASYNC_STREAM_H #ifndef GRPCPP_IMPL_CODEGEN_ASYNC_STREAM_H
#define GRPCPP_IMPL_CODEGEN_ASYNC_STREAM_H #define GRPCPP_IMPL_CODEGEN_ASYNC_STREAM_H
// IWYU pragma: private, include <grpcpp/support/async_stream.h>
#include <grpcpp/impl/codegen/call.h> #include <grpcpp/impl/codegen/call.h>
#include <grpcpp/impl/codegen/channel_interface.h> #include <grpcpp/impl/codegen/channel_interface.h>
#include <grpcpp/impl/codegen/core_codegen_interface.h> #include <grpcpp/impl/codegen/core_codegen_interface.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_ASYNC_UNARY_CALL_H #ifndef GRPCPP_IMPL_CODEGEN_ASYNC_UNARY_CALL_H
#define GRPCPP_IMPL_CODEGEN_ASYNC_UNARY_CALL_H #define GRPCPP_IMPL_CODEGEN_ASYNC_UNARY_CALL_H
// IWYU pragma: private, include <grpcpp/support/async_unary_call.h>
#include <grpcpp/impl/codegen/call.h> #include <grpcpp/impl/codegen/call.h>
#include <grpcpp/impl/codegen/call_op_set.h> #include <grpcpp/impl/codegen/call_op_set.h>
#include <grpcpp/impl/codegen/call_op_set_interface.h> #include <grpcpp/impl/codegen/call_op_set_interface.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_BYTE_BUFFER_H #ifndef GRPCPP_IMPL_CODEGEN_BYTE_BUFFER_H
#define GRPCPP_IMPL_CODEGEN_BYTE_BUFFER_H #define GRPCPP_IMPL_CODEGEN_BYTE_BUFFER_H
// IWYU pragma: private, include <grpcpp/support/byte_buffer.h>
#include <grpc/impl/codegen/byte_buffer.h> #include <grpc/impl/codegen/byte_buffer.h>
#include <grpcpp/impl/codegen/config.h> #include <grpcpp/impl/codegen/config.h>

@ -18,6 +18,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CALL_H #ifndef GRPCPP_IMPL_CODEGEN_CALL_H
#define GRPCPP_IMPL_CODEGEN_CALL_H #define GRPCPP_IMPL_CODEGEN_CALL_H
// IWYU pragma: private, include <grpcpp/impl/call.h>
#include <grpc/impl/codegen/grpc_types.h> #include <grpc/impl/codegen/grpc_types.h>
#include <grpcpp/impl/codegen/call_hook.h> #include <grpcpp/impl/codegen/call_hook.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CALL_HOOK_H #ifndef GRPCPP_IMPL_CODEGEN_CALL_HOOK_H
#define GRPCPP_IMPL_CODEGEN_CALL_HOOK_H #define GRPCPP_IMPL_CODEGEN_CALL_HOOK_H
// IWYU pragma: private
namespace grpc { namespace grpc {
namespace internal { namespace internal {

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CALL_OP_SET_H #ifndef GRPCPP_IMPL_CODEGEN_CALL_OP_SET_H
#define GRPCPP_IMPL_CODEGEN_CALL_OP_SET_H #define GRPCPP_IMPL_CODEGEN_CALL_OP_SET_H
// IWYU pragma: private
#include <cstring> #include <cstring>
#include <map> #include <map>
#include <memory> #include <memory>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CALL_OP_SET_INTERFACE_H #ifndef GRPCPP_IMPL_CODEGEN_CALL_OP_SET_INTERFACE_H
#define GRPCPP_IMPL_CODEGEN_CALL_OP_SET_INTERFACE_H #define GRPCPP_IMPL_CODEGEN_CALL_OP_SET_INTERFACE_H
// IWYU pragma: private
#include <grpcpp/impl/codegen/completion_queue_tag.h> #include <grpcpp/impl/codegen/completion_queue_tag.h>
namespace grpc { namespace grpc {

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CALLBACK_COMMON_H #ifndef GRPCPP_IMPL_CODEGEN_CALLBACK_COMMON_H
#define GRPCPP_IMPL_CODEGEN_CALLBACK_COMMON_H #define GRPCPP_IMPL_CODEGEN_CALLBACK_COMMON_H
// IWYU pragma: private
#include <functional> #include <functional>
#include <grpc/impl/codegen/grpc_types.h> #include <grpc/impl/codegen/grpc_types.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CHANNEL_INTERFACE_H #ifndef GRPCPP_IMPL_CODEGEN_CHANNEL_INTERFACE_H
#define GRPCPP_IMPL_CODEGEN_CHANNEL_INTERFACE_H #define GRPCPP_IMPL_CODEGEN_CHANNEL_INTERFACE_H
// IWYU pragma: private
#include <grpc/impl/codegen/connectivity_state.h> #include <grpc/impl/codegen/connectivity_state.h>
#include <grpcpp/impl/codegen/call.h> #include <grpcpp/impl/codegen/call.h>
#include <grpcpp/impl/codegen/status.h> #include <grpcpp/impl/codegen/status.h>

@ -17,6 +17,9 @@
#ifndef GRPCPP_IMPL_CODEGEN_CLIENT_CALLBACK_H #ifndef GRPCPP_IMPL_CODEGEN_CLIENT_CALLBACK_H
#define GRPCPP_IMPL_CODEGEN_CLIENT_CALLBACK_H #define GRPCPP_IMPL_CODEGEN_CLIENT_CALLBACK_H
// IWYU pragma: private, include <grpcpp/support/client_callback.h>
#include <atomic> #include <atomic>
#include <functional> #include <functional>

@ -34,6 +34,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CLIENT_CONTEXT_H #ifndef GRPCPP_IMPL_CODEGEN_CLIENT_CONTEXT_H
#define GRPCPP_IMPL_CODEGEN_CLIENT_CONTEXT_H #define GRPCPP_IMPL_CODEGEN_CLIENT_CONTEXT_H
// IWYU pragma: private, include <grpcpp/client_context.h>
#include <map> #include <map>
#include <memory> #include <memory>
#include <string> #include <string>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CLIENT_INTERCEPTOR_H #ifndef GRPCPP_IMPL_CODEGEN_CLIENT_INTERCEPTOR_H
#define GRPCPP_IMPL_CODEGEN_CLIENT_INTERCEPTOR_H #define GRPCPP_IMPL_CODEGEN_CLIENT_INTERCEPTOR_H
// IWYU pragma: private, include <grpcpp/support/client_interceptor.h>
#include <memory> #include <memory>
#include <vector> #include <vector>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CLIENT_UNARY_CALL_H #ifndef GRPCPP_IMPL_CODEGEN_CLIENT_UNARY_CALL_H
#define GRPCPP_IMPL_CODEGEN_CLIENT_UNARY_CALL_H #define GRPCPP_IMPL_CODEGEN_CLIENT_UNARY_CALL_H
// IWYU pragma: private, include <grpcpp/impl/client_unary_call.h>
#include <grpcpp/impl/codegen/call.h> #include <grpcpp/impl/codegen/call.h>
#include <grpcpp/impl/codegen/call_op_set.h> #include <grpcpp/impl/codegen/call_op_set.h>
#include <grpcpp/impl/codegen/channel_interface.h> #include <grpcpp/impl/codegen/channel_interface.h>

@ -32,6 +32,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_COMPLETION_QUEUE_H #ifndef GRPCPP_IMPL_CODEGEN_COMPLETION_QUEUE_H
#define GRPCPP_IMPL_CODEGEN_COMPLETION_QUEUE_H #define GRPCPP_IMPL_CODEGEN_COMPLETION_QUEUE_H
// IWYU pragma: private, include <grpcpp/completion_queue.h>
#include <list> #include <list>
#include <grpc/impl/codegen/atm.h> #include <grpc/impl/codegen/atm.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_COMPLETION_QUEUE_TAG_H #ifndef GRPCPP_IMPL_CODEGEN_COMPLETION_QUEUE_TAG_H
#define GRPCPP_IMPL_CODEGEN_COMPLETION_QUEUE_TAG_H #define GRPCPP_IMPL_CODEGEN_COMPLETION_QUEUE_TAG_H
// IWYU pragma: private
namespace grpc { namespace grpc {
namespace internal { namespace internal {

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CONFIG_H #ifndef GRPCPP_IMPL_CODEGEN_CONFIG_H
#define GRPCPP_IMPL_CODEGEN_CONFIG_H #define GRPCPP_IMPL_CODEGEN_CONFIG_H
// IWYU pragma: private, include <grpcpp/support/config.h>
#include <string> #include <string>
/// The following macros are deprecated and appear only for users /// The following macros are deprecated and appear only for users

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CONFIG_PROTOBUF_H #ifndef GRPCPP_IMPL_CODEGEN_CONFIG_PROTOBUF_H
#define GRPCPP_IMPL_CODEGEN_CONFIG_PROTOBUF_H #define GRPCPP_IMPL_CODEGEN_CONFIG_PROTOBUF_H
// IWYU pragma: private
#define GRPC_OPEN_SOURCE_PROTO #define GRPC_OPEN_SOURCE_PROTO
#ifndef GRPC_CUSTOM_MESSAGE #ifndef GRPC_CUSTOM_MESSAGE

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CORE_CODEGEN_H #ifndef GRPCPP_IMPL_CODEGEN_CORE_CODEGEN_H
#define GRPCPP_IMPL_CODEGEN_CORE_CODEGEN_H #define GRPCPP_IMPL_CODEGEN_CORE_CODEGEN_H
// IWYU pragma: private
// This file should be compiled as part of grpcpp. // This file should be compiled as part of grpcpp.
#include <grpc/byte_buffer.h> #include <grpc/byte_buffer.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CORE_CODEGEN_INTERFACE_H #ifndef GRPCPP_IMPL_CODEGEN_CORE_CODEGEN_INTERFACE_H
#define GRPCPP_IMPL_CODEGEN_CORE_CODEGEN_INTERFACE_H #define GRPCPP_IMPL_CODEGEN_CORE_CODEGEN_INTERFACE_H
// IWYU pragma: private
#include <grpc/impl/codegen/byte_buffer.h> #include <grpc/impl/codegen/byte_buffer.h>
#include <grpc/impl/codegen/byte_buffer_reader.h> #include <grpc/impl/codegen/byte_buffer_reader.h>
#include <grpc/impl/codegen/grpc_types.h> #include <grpc/impl/codegen/grpc_types.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_CREATE_AUTH_CONTEXT_H #ifndef GRPCPP_IMPL_CODEGEN_CREATE_AUTH_CONTEXT_H
#define GRPCPP_IMPL_CODEGEN_CREATE_AUTH_CONTEXT_H #define GRPCPP_IMPL_CODEGEN_CREATE_AUTH_CONTEXT_H
// IWYU pragma: private
#include <memory> #include <memory>
#include <grpc/impl/codegen/grpc_types.h> #include <grpc/impl/codegen/grpc_types.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_DELEGATING_CHANNEL_H #ifndef GRPCPP_IMPL_CODEGEN_DELEGATING_CHANNEL_H
#define GRPCPP_IMPL_CODEGEN_DELEGATING_CHANNEL_H #define GRPCPP_IMPL_CODEGEN_DELEGATING_CHANNEL_H
// IWYU pragma: private
#include <memory> #include <memory>
#include <grpcpp/impl/codegen/channel_interface.h> #include <grpcpp/impl/codegen/channel_interface.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_GRPC_LIBRARY_H #ifndef GRPCPP_IMPL_CODEGEN_GRPC_LIBRARY_H
#define GRPCPP_IMPL_CODEGEN_GRPC_LIBRARY_H #define GRPCPP_IMPL_CODEGEN_GRPC_LIBRARY_H
// IWYU pragma: private, include <grpcpp/impl/grpc_library.h>
#include <grpcpp/impl/codegen/core_codegen_interface.h> #include <grpcpp/impl/codegen/core_codegen_interface.h>
namespace grpc { namespace grpc {

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_INTERCEPTED_CHANNEL_H #ifndef GRPCPP_IMPL_CODEGEN_INTERCEPTED_CHANNEL_H
#define GRPCPP_IMPL_CODEGEN_INTERCEPTED_CHANNEL_H #define GRPCPP_IMPL_CODEGEN_INTERCEPTED_CHANNEL_H
// IWYU pragma: private
#include <grpcpp/impl/codegen/channel_interface.h> #include <grpcpp/impl/codegen/channel_interface.h>
namespace grpc { namespace grpc {

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_INTERCEPTOR_H #ifndef GRPCPP_IMPL_CODEGEN_INTERCEPTOR_H
#define GRPCPP_IMPL_CODEGEN_INTERCEPTOR_H #define GRPCPP_IMPL_CODEGEN_INTERCEPTOR_H
// IWYU pragma: private, include <grpcpp/support/interceptor.h>
#include <memory> #include <memory>
#include <grpc/impl/codegen/grpc_types.h> #include <grpc/impl/codegen/grpc_types.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_INTERCEPTOR_COMMON_H #ifndef GRPCPP_IMPL_CODEGEN_INTERCEPTOR_COMMON_H
#define GRPCPP_IMPL_CODEGEN_INTERCEPTOR_COMMON_H #define GRPCPP_IMPL_CODEGEN_INTERCEPTOR_COMMON_H
// IWYU pragma: private
#include <array> #include <array>
#include <functional> #include <functional>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_MESSAGE_ALLOCATOR_H #ifndef GRPCPP_IMPL_CODEGEN_MESSAGE_ALLOCATOR_H
#define GRPCPP_IMPL_CODEGEN_MESSAGE_ALLOCATOR_H #define GRPCPP_IMPL_CODEGEN_MESSAGE_ALLOCATOR_H
// IWYU pragma: private, include <grpcpp/support/message_allocator.h>
namespace grpc { namespace grpc {
// NOTE: This is an API for advanced users who need custom allocators. // NOTE: This is an API for advanced users who need custom allocators.

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_METADATA_MAP_H #ifndef GRPCPP_IMPL_CODEGEN_METADATA_MAP_H
#define GRPCPP_IMPL_CODEGEN_METADATA_MAP_H #define GRPCPP_IMPL_CODEGEN_METADATA_MAP_H
// IWYU pragma: private
#include <map> #include <map>
#include <grpc/impl/codegen/log.h> #include <grpc/impl/codegen/log.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_H #ifndef GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_H
#define GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_H #define GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_H
// IWYU pragma: private, include <grpcpp/support/method_handler.h>
#include <grpcpp/impl/codegen/byte_buffer.h> #include <grpcpp/impl/codegen/byte_buffer.h>
#include <grpcpp/impl/codegen/core_codegen_interface.h> #include <grpcpp/impl/codegen/core_codegen_interface.h>
#include <grpcpp/impl/codegen/rpc_service_method.h> #include <grpcpp/impl/codegen/rpc_service_method.h>

@ -19,4 +19,6 @@
#ifndef GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_IMPL_H #ifndef GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_IMPL_H
#define GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_IMPL_H #define GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_IMPL_H
// IWYU pragma: private
#endif // GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_IMPL_H #endif // GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_IMPL_H

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_PROTO_BUFFER_READER_H #ifndef GRPCPP_IMPL_CODEGEN_PROTO_BUFFER_READER_H
#define GRPCPP_IMPL_CODEGEN_PROTO_BUFFER_READER_H #define GRPCPP_IMPL_CODEGEN_PROTO_BUFFER_READER_H
// IWYU pragma: private, include <grpcpp/support/proto_buffer_reader.h>
#include <type_traits> #include <type_traits>
#include <grpc/impl/codegen/byte_buffer_reader.h> #include <grpc/impl/codegen/byte_buffer_reader.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_PROTO_BUFFER_WRITER_H #ifndef GRPCPP_IMPL_CODEGEN_PROTO_BUFFER_WRITER_H
#define GRPCPP_IMPL_CODEGEN_PROTO_BUFFER_WRITER_H #define GRPCPP_IMPL_CODEGEN_PROTO_BUFFER_WRITER_H
// IWYU pragma: private, include <grpcpp/support/proto_buffer_writer.h>
#include <type_traits> #include <type_traits>
#include <grpc/impl/codegen/grpc_types.h> #include <grpc/impl/codegen/grpc_types.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_PROTO_UTILS_H #ifndef GRPCPP_IMPL_CODEGEN_PROTO_UTILS_H
#define GRPCPP_IMPL_CODEGEN_PROTO_UTILS_H #define GRPCPP_IMPL_CODEGEN_PROTO_UTILS_H
// IWYU pragma: private
#include <type_traits> #include <type_traits>
#include <grpc/impl/codegen/byte_buffer_reader.h> #include <grpc/impl/codegen/byte_buffer_reader.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_RPC_METHOD_H #ifndef GRPCPP_IMPL_CODEGEN_RPC_METHOD_H
#define GRPCPP_IMPL_CODEGEN_RPC_METHOD_H #define GRPCPP_IMPL_CODEGEN_RPC_METHOD_H
// IWYU pragma: private, include <grpcpp/impl/rpc_method.h>
#include <memory> #include <memory>
#include <grpcpp/impl/codegen/channel_interface.h> #include <grpcpp/impl/codegen/channel_interface.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_RPC_SERVICE_METHOD_H #ifndef GRPCPP_IMPL_CODEGEN_RPC_SERVICE_METHOD_H
#define GRPCPP_IMPL_CODEGEN_RPC_SERVICE_METHOD_H #define GRPCPP_IMPL_CODEGEN_RPC_SERVICE_METHOD_H
// IWYU pragma: private, include <grpcpp/impl/rpc_service_method.h>
#include <climits> #include <climits>
#include <functional> #include <functional>
#include <map> #include <map>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_SECURITY_AUTH_CONTEXT_H #ifndef GRPCPP_IMPL_CODEGEN_SECURITY_AUTH_CONTEXT_H
#define GRPCPP_IMPL_CODEGEN_SECURITY_AUTH_CONTEXT_H #define GRPCPP_IMPL_CODEGEN_SECURITY_AUTH_CONTEXT_H
// IWYU pragma: private, include <grpcpp/security/auth_context.h>
#include <iterator> #include <iterator>
#include <vector> #include <vector>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_SERIALIZATION_TRAITS_H #ifndef GRPCPP_IMPL_CODEGEN_SERIALIZATION_TRAITS_H
#define GRPCPP_IMPL_CODEGEN_SERIALIZATION_TRAITS_H #define GRPCPP_IMPL_CODEGEN_SERIALIZATION_TRAITS_H
// IWYU pragma: private, include <grpcpp/impl/serialization_traits.h>
namespace grpc { namespace grpc {
/// Defines how to serialize and deserialize some type. /// Defines how to serialize and deserialize some type.

@ -18,6 +18,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_SERVER_CALLBACK_H #ifndef GRPCPP_IMPL_CODEGEN_SERVER_CALLBACK_H
#define GRPCPP_IMPL_CODEGEN_SERVER_CALLBACK_H #define GRPCPP_IMPL_CODEGEN_SERVER_CALLBACK_H
// IWYU pragma: private, include <grpcpp/support/server_callback.h>
#include <atomic> #include <atomic>
#include <functional> #include <functional>
#include <type_traits> #include <type_traits>

@ -18,6 +18,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_SERVER_CALLBACK_HANDLERS_H #ifndef GRPCPP_IMPL_CODEGEN_SERVER_CALLBACK_HANDLERS_H
#define GRPCPP_IMPL_CODEGEN_SERVER_CALLBACK_HANDLERS_H #define GRPCPP_IMPL_CODEGEN_SERVER_CALLBACK_HANDLERS_H
// IWYU pragma: private
#include <grpcpp/impl/codegen/message_allocator.h> #include <grpcpp/impl/codegen/message_allocator.h>
#include <grpcpp/impl/codegen/rpc_service_method.h> #include <grpcpp/impl/codegen/rpc_service_method.h>
#include <grpcpp/impl/codegen/server_callback.h> #include <grpcpp/impl/codegen/server_callback.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_SERVER_CONTEXT_H #ifndef GRPCPP_IMPL_CODEGEN_SERVER_CONTEXT_H
#define GRPCPP_IMPL_CODEGEN_SERVER_CONTEXT_H #define GRPCPP_IMPL_CODEGEN_SERVER_CONTEXT_H
// IWYU pragma: private, include <grpcpp/server_context.h>
#include <atomic> #include <atomic>
#include <cassert> #include <cassert>
#include <map> #include <map>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_SERVER_INTERCEPTOR_H #ifndef GRPCPP_IMPL_CODEGEN_SERVER_INTERCEPTOR_H
#define GRPCPP_IMPL_CODEGEN_SERVER_INTERCEPTOR_H #define GRPCPP_IMPL_CODEGEN_SERVER_INTERCEPTOR_H
// IWYU pragma: private, include <grpcpp/support/server_interceptor.h>
#include <atomic> #include <atomic>
#include <vector> #include <vector>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_SERVER_INTERFACE_H #ifndef GRPCPP_IMPL_CODEGEN_SERVER_INTERFACE_H
#define GRPCPP_IMPL_CODEGEN_SERVER_INTERFACE_H #define GRPCPP_IMPL_CODEGEN_SERVER_INTERFACE_H
// IWYU pragma: private
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#include <grpc/impl/codegen/grpc_types.h> #include <grpc/impl/codegen/grpc_types.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_SERVICE_TYPE_H #ifndef GRPCPP_IMPL_CODEGEN_SERVICE_TYPE_H
#define GRPCPP_IMPL_CODEGEN_SERVICE_TYPE_H #define GRPCPP_IMPL_CODEGEN_SERVICE_TYPE_H
// IWYU pragma: private, include <grpcpp/impl/service_type.h>
#include <grpcpp/impl/codegen/config.h> #include <grpcpp/impl/codegen/config.h>
#include <grpcpp/impl/codegen/core_codegen_interface.h> #include <grpcpp/impl/codegen/core_codegen_interface.h>
#include <grpcpp/impl/codegen/rpc_service_method.h> #include <grpcpp/impl/codegen/rpc_service_method.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_SLICE_H #ifndef GRPCPP_IMPL_CODEGEN_SLICE_H
#define GRPCPP_IMPL_CODEGEN_SLICE_H #define GRPCPP_IMPL_CODEGEN_SLICE_H
// IWYU pragma: private, include <grpcpp/support/slice.h>
#include <grpcpp/impl/codegen/config.h> #include <grpcpp/impl/codegen/config.h>
#include <grpcpp/impl/codegen/core_codegen_interface.h> #include <grpcpp/impl/codegen/core_codegen_interface.h>
#include <grpcpp/impl/codegen/string_ref.h> #include <grpcpp/impl/codegen/string_ref.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_STATUS_H #ifndef GRPCPP_IMPL_CODEGEN_STATUS_H
#define GRPCPP_IMPL_CODEGEN_STATUS_H #define GRPCPP_IMPL_CODEGEN_STATUS_H
// IWYU pragma: private, include <grpcpp/support/status.h>
#include <grpc/impl/codegen/status.h> #include <grpc/impl/codegen/status.h>
#include <grpcpp/impl/codegen/config.h> #include <grpcpp/impl/codegen/config.h>
#include <grpcpp/impl/codegen/status_code_enum.h> #include <grpcpp/impl/codegen/status_code_enum.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_STATUS_CODE_ENUM_H #ifndef GRPCPP_IMPL_CODEGEN_STATUS_CODE_ENUM_H
#define GRPCPP_IMPL_CODEGEN_STATUS_CODE_ENUM_H #define GRPCPP_IMPL_CODEGEN_STATUS_CODE_ENUM_H
// IWYU pragma: private, include <grpcpp/support/status_code_enum.h>
namespace grpc { namespace grpc {
enum StatusCode { enum StatusCode {

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_STRING_REF_H #ifndef GRPCPP_IMPL_CODEGEN_STRING_REF_H
#define GRPCPP_IMPL_CODEGEN_STRING_REF_H #define GRPCPP_IMPL_CODEGEN_STRING_REF_H
// IWYU pragma: private, include <grpcpp/support/string_ref.h>
#include <string.h> #include <string.h>
#include <algorithm> #include <algorithm>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_STUB_OPTIONS_H #ifndef GRPCPP_IMPL_CODEGEN_STUB_OPTIONS_H
#define GRPCPP_IMPL_CODEGEN_STUB_OPTIONS_H #define GRPCPP_IMPL_CODEGEN_STUB_OPTIONS_H
// IWYU pragma: private, include <grpcpp/support/stub_options.h>
namespace grpc { namespace grpc {
/// Useful interface for generated stubs /// Useful interface for generated stubs

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_SYNC_H #ifndef GRPCPP_IMPL_CODEGEN_SYNC_H
#define GRPCPP_IMPL_CODEGEN_SYNC_H #define GRPCPP_IMPL_CODEGEN_SYNC_H
// IWYU pragma: private
#include <grpc/impl/codegen/port_platform.h> #include <grpc/impl/codegen/port_platform.h>
#ifdef GPR_HAS_PTHREAD_H #ifdef GPR_HAS_PTHREAD_H

@ -18,6 +18,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_SYNC_STREAM_H #ifndef GRPCPP_IMPL_CODEGEN_SYNC_STREAM_H
#define GRPCPP_IMPL_CODEGEN_SYNC_STREAM_H #define GRPCPP_IMPL_CODEGEN_SYNC_STREAM_H
// IWYU pragma: private, include <grpcpp/support/sync_stream.h>
#include <grpcpp/impl/codegen/call.h> #include <grpcpp/impl/codegen/call.h>
#include <grpcpp/impl/codegen/channel_interface.h> #include <grpcpp/impl/codegen/channel_interface.h>
#include <grpcpp/impl/codegen/client_context.h> #include <grpcpp/impl/codegen/client_context.h>

@ -19,6 +19,8 @@
#ifndef GRPCPP_IMPL_CODEGEN_TIME_H #ifndef GRPCPP_IMPL_CODEGEN_TIME_H
#define GRPCPP_IMPL_CODEGEN_TIME_H #define GRPCPP_IMPL_CODEGEN_TIME_H
// IWYU pragma: private, include <grpcpp/support/time.h>
#include <chrono> #include <chrono>
#include <grpc/impl/codegen/grpc_types.h> #include <grpc/impl/codegen/grpc_types.h>

@ -24,7 +24,7 @@
#include <grpc/grpc.h> #include <grpc/grpc.h>
#include <grpcpp/impl/codegen/config.h> #include <grpcpp/impl/codegen/config.h>
#include <grpcpp/impl/codegen/core_codegen.h> #include <grpcpp/impl/codegen/core_codegen.h>
#include <grpcpp/impl/codegen/grpc_library.h> #include <grpcpp/impl/codegen/grpc_library.h> // IWYU pragma: export
namespace grpc { namespace grpc {

@ -19,6 +19,6 @@
#ifndef GRPCPP_IMPL_RPC_METHOD_H #ifndef GRPCPP_IMPL_RPC_METHOD_H
#define GRPCPP_IMPL_RPC_METHOD_H #define GRPCPP_IMPL_RPC_METHOD_H
#include <grpcpp/impl/codegen/rpc_method.h> #include <grpcpp/impl/codegen/rpc_method.h> // IWYU pragma: export
#endif // GRPCPP_IMPL_RPC_METHOD_H #endif // GRPCPP_IMPL_RPC_METHOD_H

@ -19,6 +19,6 @@
#ifndef GRPCPP_IMPL_RPC_SERVICE_METHOD_H #ifndef GRPCPP_IMPL_RPC_SERVICE_METHOD_H
#define GRPCPP_IMPL_RPC_SERVICE_METHOD_H #define GRPCPP_IMPL_RPC_SERVICE_METHOD_H
#include <grpcpp/impl/codegen/rpc_service_method.h> #include <grpcpp/impl/codegen/rpc_service_method.h> // IWYU pragma: export
#endif // GRPCPP_IMPL_RPC_SERVICE_METHOD_H #endif // GRPCPP_IMPL_RPC_SERVICE_METHOD_H

@ -19,6 +19,6 @@
#ifndef GRPCPP_IMPL_SERIALIZATION_TRAITS_H #ifndef GRPCPP_IMPL_SERIALIZATION_TRAITS_H
#define GRPCPP_IMPL_SERIALIZATION_TRAITS_H #define GRPCPP_IMPL_SERIALIZATION_TRAITS_H
#include <grpcpp/impl/codegen/serialization_traits.h> #include <grpcpp/impl/codegen/serialization_traits.h> // IWYU pragma: export
#endif // GRPCPP_IMPL_SERIALIZATION_TRAITS_H #endif // GRPCPP_IMPL_SERIALIZATION_TRAITS_H

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save