Skip to content

Commit

Permalink
Update CODING_CONVENTIONS.md
Browse files Browse the repository at this point in the history
Co-authored-by: chrysn <chrysn@fsfe.org>
  • Loading branch information
maribu and chrysn committed Apr 14, 2024
1 parent df40706 commit e13ceeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CODING_CONVENTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ common helpers and implementations, but a per platform `foo_arch.h` is included
from within `foo.h` for platform specific implementations. If in this scenario
only functions provided by `foo_arch.h` are included, the `#include` of `foo.h`
is considered as unused. To avoid this, one should add
`/* IWYU pragma: export */` after `#include "foo_arch.h"` in `foo.h`.
[`/* IWYU pragma: export */`](https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md) after `#include "foo_arch.h"` in `foo.h`.

[clangd-include-cleaner]: https://clangd.llvm.org/design/include-cleaner

Expand Down

0 comments on commit e13ceeb

Please sign in to comment.