This is an archive of the discontinued LLVM Phabricator instance.

[include-cleaner] Move the writeHTMLReport to the public header, NFC.
Needs ReviewPublic

Authored by hokein on Oct 26 2022, 12:44 PM.

Details

Reviewers
sammccall

Diff Detail

Event Timeline

hokein created this revision.Oct 26 2022, 12:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 26 2022, 12:44 PM
hokein requested review of this revision.Oct 26 2022, 12:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 26 2022, 12:44 PM

OOC, Is there something prompting doing this immediately?
I *did* originally plan to mechanically move this and we *can* but...

The API isn't even approximately the right shape (FileID should go away as we've baked main-file assumption in, Roots needs to be paired with macro refs, we need the includes and IWYU pragma stuff...). Then we have a function with a ton of parameters and there's probably some grouping that should go on.

So I'd be more inclined to let this sit for a couple of weeks and let the implementation catch up...