[PATCH] D135956: [include-cleaner] Add include-cleaner tool, with initial HTML report

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 14 04:07:23 PDT 2022


sammccall added reviewers: kadircet, hokein.
sammccall added a comment.

Demo: https://htmlpreview.github.io/?https://gist.githubusercontent.com/sam-mccall/0cc7dd1f6c5605837966cb113babe591/raw/7c9a29142eca1fc1f486540f255586a0f72a9c9e/AST.html

This is missing tests, my plan is:

- add some basic smoke tests of `include-cleaner -html` via lit
- don't do any additional direct testing of writeHTMLReport
- add unit tests for RecordedAST (this is part of the public API that's used when you don't have something like clangd tracking decls already)

Will add those after initial feedback of whether this is the right thing at all.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135956



More information about the cfe-commits mailing list