Skip to content

Conversation

@hzeller
Copy link
Contributor

@hzeller hzeller commented Mar 6, 2025

Described here https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md#iwyu-pragma-begin_exportsend_exports

These pragmas are not only understood by the IWYU tools, but as well clang-tidy ( https://clangd.llvm.org/design/include-cleaner#iwyu-pragmas ), so that projects using clang-tidy will not get false-positives about missing includes.

Described here https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md#iwyu-pragma-begin_exportsend_exports

These pragmas are not only understood by the IWYU tools, but
as well clang-tidy ( https://clangd.llvm.org/design/include-cleaner#iwyu-pragmas ),
so that projects using clang-tidy will not get false-positives
about missing includes.

Signed-off-by: Henner Zeller <[email protected]>
@parrt parrt merged commit e9501a0 into antlr:dev Mar 7, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants