1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/core/include
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
..
cond.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
mbox.h mbox: provide function to unset initialized mbox 2024-03-19 12:27:33 +01:00
msg_bus.h core: apply uncrustify patches 2021-02-02 22:21:14 +01:00
msg.h core: add functionality to check queue state of another thread 2022-03-03 16:50:34 +01:00
mutex.h tree-wide: fix typos in doc and comments 2023-10-16 12:17:48 +02:00
native_sched.h native64: Add Linux/x86_64 board 2024-02-05 22:01:40 +01:00
sched.h core: Express -1 as ~0 in thread_status_t cast 2023-10-15 23:54:16 +02:00
thread_flags.h core/thread: Add constant value to check custom flags against 2022-02-26 22:17:33 +01:00
thread.h tree wide: add IWYU pragma: export where needed 2024-04-14 14:26:05 +02:00