[clangd] Remove IWYU handling code that is used only for the old unused-include feature.
authorHaojian Wu <hokein.wu@gmail.com>
Fri, 10 Mar 2023 11:06:32 +0000 (12:06 +0100)
committerHaojian Wu <hokein.wu@gmail.com>
Mon, 13 Mar 2023 11:34:34 +0000 (12:34 +0100)
commitbe39daea846e6b5d43a8ee0c387feb0a556ff386
tree603d28e5c4183296e1e99512af2f4f1277b253d1
parent7054aa6d6d68e59c3ee7d7ce4ab65b9acfe1ef06
[clangd] Remove IWYU handling code that is used only for the old unused-include feature.

The old implementation has been removed, this patch removes the clangd's IWYU
code that is only used for the old implmentation (include-cleaner library has
better support):

- IWYU export pragma
- IWYU keep pragma

Differential Revision: https://reviews.llvm.org/D145916
clang-tools-extra/clangd/Headers.cpp
clang-tools-extra/clangd/Headers.h
clang-tools-extra/clangd/IncludeCleaner.cpp
clang-tools-extra/clangd/unittests/HeadersTests.cpp
clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
clang-tools-extra/clangd/unittests/PreambleTests.cpp