[PATCH] D121593: [clangd][WIP] Provide clang-include-cleaner

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 23 05:36:08 PDT 2022


sammccall added a comment.

We'd like to proceed here by extracting the include-cleaner functionality from clangd into a library.
It would be used by:

- clangd
- a new clang-tidy check
- possibly a standalone tool, if clang-tidy doesn't fit well into the cleanup workflow
- some out-of-tree cleanup tools internal to google (nothing that would interest upstream, just integrating with our source control/code review etc)

The design would be a little different than what's currently in clangd as the scope is larger: it would support suggesting insertions as well as removals, and some limited policy knobs.

I'll post a proposal on discourse shortly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121593/new/

https://reviews.llvm.org/D121593



More information about the cfe-commits mailing list