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

Unused includes cleanup #946

Merged
merged 3 commits into from
Oct 11, 2023

Conversation

rjoomen
Copy link
Contributor

@rjoomen rjoomen commented Oct 11, 2023

Used clangd to check all files for unused includes

@Levi-Armstrong
Copy link
Contributor

Could we add a CI run which does this check?

@rjoomen
Copy link
Contributor Author

rjoomen commented Oct 11, 2023

clang-tidy has misc-include-cleaner, but this is very recent. Our CI has all misc checks already switched on, but the clang-tidy used is too old.

RICB has IWYU functionality, that could be an option. I've tried that once locally, I believe, but could not get it working. Maybe you're able add it to our CI?

@Levi-Armstrong
Copy link
Contributor

Sounds good. Might be easier to try and upgrade clang-tidy at some point.

Copy link
Contributor

@Levi-Armstrong Levi-Armstrong left a comment

Choose a reason for hiding this comment

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

LGTM, good to merge when CI passes.

@Levi-Armstrong Levi-Armstrong merged commit 7e044fc into tesseract-robotics:master Oct 11, 2023
9 of 10 checks passed
@rjoomen rjoomen deleted the includecleanup branch October 13, 2023 06:02
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