Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the IWYU pragma export #1154

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

hkroeg
Copy link

@hkroeg hkroeg commented Jul 16, 2024

clang-tidy has added the check misc-include-cleaner with version 17. It checks for unused and missing includes. For instance, the following code will be flagged since the file gsl does not directly supply gsl::span

#include "gsl/include/gsl/gsl"

gsl::span<int>

The check misc-include-cleaner respects the IWYU pragmas. So, this pull request adds the IWYU pragmas.

clang-tidy has added the check misc-include-cleaner with version 17. This check respects the IWYU pragmas.
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.

3 participants