This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Remove the classical clangd-own unsued-include implementation.
AbandonedPublic

Authored by hokein on Mar 10 2023, 1:56 AM.

Details

Reviewers
kadircet
Summary

We have switch to use the include-library-based implementation.

Based on https://reviews.llvm.org/D145773

Diff Detail

Event Timeline

hokein created this revision.Mar 10 2023, 1:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 10 2023, 1:56 AM
hokein requested review of this revision.Mar 10 2023, 1:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 10 2023, 1:56 AM
kadircet accepted this revision.Mar 10 2023, 2:32 AM

i'd still merge this with the previous patch, as all of this is dead code after config option deletion. so it'd be better to just revert a single patch if we want to restore the old behavior, rather than two.

clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
720

i don't think this test is meaningful for our current usage of the include-cleaner library, feel free to drop it.

This revision is now accepted and ready to land.Mar 10 2023, 2:32 AM
hokein abandoned this revision.Mar 10 2023, 2:44 AM
hokein marked an inline comment as done.

Merge the change in https://reviews.llvm.org/D145773 per the review comment.