Skip to content

[clangd] Add an option to disable special handling of standard library headers in include-cleaner #122612

Open
@philnik777

Description

@philnik777

While there are good reasons for adding some special magic for standard libraries, this really gets in the way when actually working on a standard library. For example, the include cleaner is completely broken, since it's always mapping public symbols to the public headers, even though library-internal headers should actually be used. It would be awesome if there was a flag for clangd to disable such special magic, allowing it to be used when working on a standard library without patching your own version together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions