summaryrefslogtreecommitdiff
path: root/grpc/include/grpc/impl/codegen/atm.h
diff options
context:
space:
mode:
Diffstat (limited to 'grpc/include/grpc/impl/codegen/atm.h')
-rw-r--r--grpc/include/grpc/impl/codegen/atm.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/grpc/include/grpc/impl/codegen/atm.h b/grpc/include/grpc/impl/codegen/atm.h
index 00d83f06..606369a2 100644
--- a/grpc/include/grpc/impl/codegen/atm.h
+++ b/grpc/include/grpc/impl/codegen/atm.h
@@ -19,6 +19,8 @@
#ifndef 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.
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>
#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)
-#include <grpc/impl/codegen/atm_gcc_sync.h>
+#include <grpc/impl/codegen/atm_gcc_sync.h> // IWYU pragma: export
#elif defined(GPR_WINDOWS_ATOMIC)
-#include <grpc/impl/codegen/atm_windows.h>
+#include <grpc/impl/codegen/atm_windows.h> // IWYU pragma: export
#else
#error could not determine platform for atm
#endif