commit | ec6cfc9a3f4e040af2d08322f2f942217a7d03f0 | [log] [tgz] |
---|---|---|
author | Jagpal Singh Gill <paligill@gmail.com> | Fri May 16 00:42:24 2025 -0700 |
committer | Jagpal Singh Gill <paligill@gmail.com> | Fri May 16 00:42:24 2025 -0700 |
tree | 00188194fae32f98409e12bab2064af05c78835a | |
parent | a91aac80cfb2d52ff1eb000d12dd835e5ddeba24 [diff] |
fix IWYU issue for sdbusplus/bus/match.hpp clang-tidy explicitly includes sdbusplus/bus/match.hpp even though its already available through sdbusplus/async/match.hpp, so use IWYU pragma to mark sdbusplus/async/match.hpp as exporter of sdbusplus/bus/match.hpp as per [1]. [1]: https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md#iwyu-pragma-export Change-Id: I5df39ee642b476aa502fc0707db241eb42378577 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/include/sdbusplus/async/match.hpp b/include/sdbusplus/async/match.hpp index 10f9fe7..4dbc61a 100644 --- a/include/sdbusplus/async/match.hpp +++ b/include/sdbusplus/async/match.hpp
@@ -1,7 +1,7 @@ #pragma once #include <sdbusplus/async/context.hpp> #include <sdbusplus/async/execution.hpp> -#include <sdbusplus/bus/match.hpp> +#include <sdbusplus/bus/match.hpp> // IWYU pragma: export #include <sdbusplus/message.hpp> #include <sdbusplus/slot.hpp>