commit | a91aac80cfb2d52ff1eb000d12dd835e5ddeba24 | [log] [tgz] |
---|---|---|
author | Jagpal Singh Gill <paligill@gmail.com> | Fri May 16 00:35:39 2025 -0700 |
committer | Jagpal Singh Gill <paligill@gmail.com> | Fri May 16 00:35:39 2025 -0700 |
tree | 2d128e0cbe9e06b7f35fa86b75eb1a00afc3ead5 | |
parent | d191190c0e8a92b929047ad5bfcfa0283f2343a3 [diff] |
fix IWYU for async.hpp async.hpp includes bunch of async header files which is being ignored by clang-tidy due to IWYU. Hence, use IWYU pragma as per [1]. [1]: https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md#iwyu-pragma-begin_exportsend_exports Change-Id: I19cd7153b9f7ed3c6ad0cdd73addc701469af191 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/include/sdbusplus/async.hpp b/include/sdbusplus/async.hpp index 31b3a99..7573cd1 100644 --- a/include/sdbusplus/async.hpp +++ b/include/sdbusplus/async.hpp
@@ -1,5 +1,6 @@ #pragma once +// IWYU pragma: begin_exports #include <sdbusplus/async/context.hpp> #include <sdbusplus/async/execution.hpp> #include <sdbusplus/async/fdio.hpp> @@ -7,3 +8,4 @@ #include <sdbusplus/async/proxy.hpp> #include <sdbusplus/async/task.hpp> #include <sdbusplus/async/timer.hpp> +// IWYU pragma: end_exports