Skip to content

Add IWYU pragma for provider header #4489

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

Closed
wants to merge 1 commit into from
Closed

Conversation

fnuecke
Copy link

@fnuecke fnuecke commented Jul 8, 2025

This PR suggests adding an IWYU pragma to the provider header fmt/format.h. This allows the header to be used as intended without warnings in projects with strict clangd include diagnostics configuration.

@fnuecke fnuecke changed the title Add IWYU pragmas for provider header Add IWYU pragma for provider header Jul 8, 2025
@vitaut
Copy link
Contributor

vitaut commented Jul 8, 2025

Thanks for the PR but in the user code fmt/base.h should be preferred.

@vitaut vitaut closed this Jul 8, 2025
@fnuecke
Copy link
Author

fnuecke commented Jul 8, 2025

Interesting, good to know, thanks!

@fnuecke fnuecke deleted the patch-1 branch July 8, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants