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 Standard Library Headers #2

Open
dsanders11 opened this issue Feb 1, 2022 · 0 comments
Open

Unused Standard Library Headers #2

dsanders11 opened this issue Feb 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dsanders11
Copy link
Owner

dsanders11 commented Feb 1, 2022

clangd IncludeCleaner has experimental support for standard library headers behind a --include-cleaner-stdlib, but suggest_include_changes.py won't be able to fully support it at the moment since it can't map from includes like #include <string> to buildtools/third_party/libc++/trunk/include/string, so it won't be able to match up the edge size from include analysis output.

Consider mapping #include \<(.*)\> lines to buildtools/third_party/libc++/trunk/include/(.*), that might cover most cases and be "good enough" for these purposes.

@dsanders11 dsanders11 added the enhancement New feature or request label Feb 1, 2022
@dsanders11 dsanders11 changed the title Standard Library Headers Unused Standard Library Headers Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant