1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/core/lib/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
..
macros macros/utils: add ABS() macro 2024-02-08 09:52:22 -05:00
assert.h core/lib: do not use DEBUG_BREAKPOINT by default 2023-06-27 17:04:27 +02:00
bitarithm.h core/bitarithm: add bitarithm_clzb() 2023-05-23 16:15:25 +02:00
cib.h core/lib/cib: add several new peek functions 2024-03-18 10:14:34 -04:00
clist.h core: split out library code 2022-03-09 21:43:05 +01:00
compiler_hints.h core/compiler_hints: add may_be_zero() 2023-05-23 17:46:39 +02:00
container.h core/lib: split kernel defines by its concerns 2022-11-11 13:41:33 +01:00
debug.h debug: add DEBUG_BREAKPOINT() macro 2023-04-27 13:19:17 +02:00
irq.h tree wide: add IWYU pragma: export where needed 2024-04-14 14:26:05 +02:00
kernel_defines.h core/lib: split kernel defines by its concerns 2022-11-11 13:41:33 +01:00
kernel_init.h core/init: add early_init() 2023-01-08 22:25:10 +01:00
list.h core: split out library code 2022-03-09 21:43:05 +01:00
log.h core/lib: add doxygen for LOG_* macros 2022-03-10 10:15:14 +01:00
modules.h core/lib: split kernel defines by its concerns 2022-11-11 13:41:33 +01:00
panic.h cpu/riscv: Add PMP driver 2023-06-28 11:55:34 +02:00
priority_queue.h sys: 64 bit compatibility 2024-01-17 16:05:12 +01:00
ringbuffer.h core: split out library code 2022-03-09 21:43:05 +01:00
riot_version.h core/lib: split kernel defines by its concerns 2022-11-11 13:41:33 +01:00
rmutex.h core: split out library code 2022-03-09 21:43:05 +01:00
thread_config.h core: split out library code 2022-03-09 21:43:05 +01:00
xfa.h core/lib: drop read only XFA's const volatile modifiers 2023-05-04 10:53:08 +02:00