1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00
Marian Buschsieweke cf6fa4edf0
tree wide: add IWYU pragma: export where needed
We occasionally have some public `foo.h` header that includes a private
`foo_arch.h` header. Users are expected to include the `foo.h` header
and not the `foo_arch.h`. However, clangd will claim that the `#include`
of `foo.h` is unused if only functions / macros/ types / ... from
`foor_arch.h` is used and nothing from `foo.h`.

This adds the `IWYU pragma: export` comment to the include of
`foo_arch.h` in `foo.h`, so that clangd treats functions / macros /
types provided by `foo_arch.h` as if they were instead provided by
`foo.h`, which fixes the false positives.
2024-04-14 14:26:05 +02:00
..
2019-04-03 11:12:46 +02:00
2020-05-14 16:53:05 +02:00
2019-11-23 22:39:07 +01:00
2023-05-23 08:49:37 +02:00
2020-10-22 11:29:27 +02:00
2021-02-10 09:55:52 +01:00
2023-06-26 17:24:07 +02:00
2021-12-02 07:54:38 +01:00
2022-02-20 13:43:19 +01:00