This is an archive of the discontinued LLVM Phabricator instance.

[clangd] IncludeCleaner: Decrease API dependency on clangd
ClosedPublic

Authored by kbobyrev on Feb 3 2022, 2:52 AM.

Diff Detail

Event Timeline

kbobyrev created this revision.Feb 3 2022, 2:52 AM
kbobyrev requested review of this revision.Feb 3 2022, 2:52 AM
sammccall accepted this revision.Feb 3 2022, 3:03 AM
sammccall added inline comments.
clang-tools-extra/clangd/IncludeCleaner.h
55

we can make Tokens & PP optional, and only track macros if they are present?

This lowers the barrier to entry a bit

65–71

doc HeaderResponsible

68

std::function -> llvm::function_ref?

This revision is now accepted and ready to land.Feb 3 2022, 3:03 AM
kbobyrev updated this revision to Diff 405598.Feb 3 2022, 5:40 AM
kbobyrev marked 3 inline comments as done.

Resolve review comments.

This revision was landed with ongoing or failed builds.Feb 3 2022, 5:41 AM
This revision was automatically updated to reflect the committed changes.