Skip to content

Unused Standard Library Headers #2

@dsanders11

Description

@dsanders11

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions