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

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 14 04:26:34 PDT 2022


serge-sans-paille created this revision.
serge-sans-paille added reviewers: kbobyrev, sammccall.
Herald added subscribers: usaxena95, kadircet, arphaman, mgorny.
Herald added a project: All.
serge-sans-paille requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.

This is just a wrapper around clangd include cleaner's capability to be used in CLI mode.

I'm not sure why include-cleaner wasn't integrated in clang-tidy, but I suspect there's a good reason.
This revision is a support for discussing a potential tool that would leverage on include cleaner from clangd: it would be great to be able to run such a tool on LLVM database and make sure we don't regress.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121593

Files:
  clang-tools-extra/clangd/CMakeLists.txt
  clang-tools-extra/clangd/include-cleaner/CMakeLists.txt
  clang-tools-extra/clangd/include-cleaner/ClangIncludeCleanerMain.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121593.415060.patch
Type: text/x-patch
Size: 3269 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220314/d3df1bf0/attachment.bin>


More information about the cfe-commits mailing list