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

Assort IWYU Cleanups #56295

Merged
merged 5 commits into from
Dec 4, 2023
Merged

Assort IWYU Cleanups #56295

merged 5 commits into from
Dec 4, 2023

Conversation

WillAyd
Copy link
Member

@WillAyd WillAyd commented Dec 2, 2023

include-what-you-use is a relatively common tool for cleaning up includes. it helps to localize includes and identify unnecessary ones

It has a few rough edges that don't make it 100% compatible with our code base, so I'm not sure we can do this in CI. But here were a few cleanups I manually gleaned from the IWYU output that I think make sense


#pragma once

#define UJSON_VERSION "1.33"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this documented somewhere else?

Copy link
Member Author

@WillAyd WillAyd Dec 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its not but it isn't reflective of our current state either. I assume as things were vendored / changed this sat stagnant (1.33 ujson was 10 years ago)

@mroeschke mroeschke added this to the 2.2 milestone Dec 4, 2023
@mroeschke mroeschke added the Clean label Dec 4, 2023
@mroeschke mroeschke merged commit 3d14193 into pandas-dev:main Dec 4, 2023
48 checks passed
@mroeschke
Copy link
Member

Thanks @WillAyd

@WillAyd WillAyd deleted the iwyu-cleanups branch December 4, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants