[clangd] NFC: Cleanup IncludeCleaner API
authorKirill Bobyrev <kbobyrev@google.com>
Tue, 8 Mar 2022 12:42:50 +0000 (13:42 +0100)
committerKirill Bobyrev <kbobyrev@google.com>
Tue, 8 Mar 2022 12:43:25 +0000 (13:43 +0100)
commitd5106c8f973b76e49d64ac3d91236efafd771c7c
tree0ade4940f8e048c7e9ebf685449a773f175d6b64
parentf537a409160dc1e506445724c5256bb116c0d71a
[clangd] NFC: Cleanup IncludeCleaner API

Make a further improvement to decrease verbosity of the API: ASTContext
provides SourceManager access.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D119842
clang-tools-extra/clangd/IncludeCleaner.cpp
clang-tools-extra/clangd/IncludeCleaner.h