commit | 62166488fd1775f0ab7ed5e27fddc16d6b20a6bb | [log] [tgz] |
---|---|---|
author | Michael Brase <mbrase@google.com> | Fri Feb 21 10:19:45 2025 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 21 10:19:45 2025 -0800 |
tree | 39727952017ef0d94d30932fafcb03312a69ef5a | |
parent | cbf1a74795957b98b3dec3cb7c2afd8b79bb2316 [diff] |
pw_async2: Add IWYU export for dispatcher_base.h in dispatcher.h I get a IWYU warning when I include dispatcher.h for types like `pw::async2::Context`, because they are defined in dispatcher_base.h, not dispatcher.h. However, there is a comment in the BUILD file that I that I should't depend on //pw_async2:dispatcher_base directy: https://cs.opensource.google/pigweed/pigweed/+/main:pw_async2/BUILD.bazel;l=55-56;drc=813fe272d52a81bbeb774a3d307086138db7bf8b This CL adds a IWYU export pragma to the include of dispatcher_base.h inside of dispatcher.h, to suppress the warning. Change-Id: If73c68747db380cbd8a521eb93ce09e6db74c40b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/269515 Reviewed-by: Wyatt Hepler <hepler@google.com> Docs-Not-Needed: Michael Brase <mbrase@google.com> Commit-Queue: Michael Brase <mbrase@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.