1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/core/lib
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
..
include tree wide: add IWYU pragma: export where needed 2024-04-14 14:26:05 +02:00
assert.c core/lib: do not use DEBUG_BREAKPOINT by default 2023-06-27 17:04:27 +02:00
atomic_c11.c core: split out library code 2022-03-09 21:43:05 +01:00
atomic_sync.c core: split out library code 2022-03-09 21:43:05 +01:00
bitarithm.c bitarithm: Move extern const out of static inline functions 2022-05-29 13:59:39 +02:00
clist.c core: split out library code 2022-03-09 21:43:05 +01:00
init.c core/lib: guard pm_off 2024-04-02 11:47:50 +02:00
Makefile core: split out library code 2022-03-09 21:43:05 +01:00
panic.c core/panic: fix build with !periph_pm 2024-01-11 21:21:30 +01:00
priority_queue.c core: 64 bit compatibility 2024-01-15 10:16:30 +01:00
ringbuffer.c core: split out library code 2022-03-09 21:43:05 +01:00
rmutex.c core: split out library code 2022-03-09 21:43:05 +01:00