1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/core
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
lib tree wide: add IWYU pragma: export where needed 2024-04-14 14:26:05 +02:00
cond.c core/*: realign ENABLE_DEBUG 2020-10-23 00:45:56 +02:00
doc.txt doc/mainpage: don't claim to be a microkernel 2024-01-11 16:59:50 +01:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile core/thread, mutex: provide dummy implementation for riotboot 2022-05-02 13:18:39 +02:00
mbox.c core: 64 bit compatibility 2024-01-15 10:16:30 +01:00
msg_bus.c core: Access internal vars via helper funcs 2020-08-06 16:47:33 +02:00
msg.c core/msg: better DEBUG() in queue_msg 2023-10-22 10:50:00 +02:00
mutex.c core/mutex: fix debug message for mutex priority inheritance 2023-12-14 16:43:28 +01:00
sched.c core/sched.c: fix undefined behavior on 8-bit/16-bit 2022-09-09 21:55:17 +02:00
thread_flags.c core: 64 bit compatibility 2024-01-15 10:16:30 +01:00
thread.c core/thread: Fix up stack and TLS alignments 2023-03-04 01:18:36 -08:00