Skip to content

Add IWYU pragma for provider header#4489

Closed
fnuecke wants to merge 1 commit intofmtlib:masterfrom
fnuecke:patch-1
Closed

Add IWYU pragma for provider header#4489
fnuecke wants to merge 1 commit intofmtlib:masterfrom
fnuecke:patch-1

Conversation

@fnuecke
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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