This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Remove dead plugin code
Needs ReviewPublic

Authored by mattbeardsley on Dec 21 2021, 6:01 PM.

Details

Summary

The following removed the only use of the clang-tidy plugin code:
https://reviews.llvm.org/D97693

This removes the rest of the now-unused and now-untested clang-tidy plugin code.

Diff Detail

Event Timeline

mattbeardsley created this revision.Dec 21 2021, 6:01 PM
mattbeardsley requested review of this revision.Dec 21 2021, 6:01 PM
Herald added a project: Restricted Project. · View Herald Transcript

If this code is truly dead, this looks fine to me.

But IIRC D97693 was about no longer linking clang-tidy into libclang, while clang-tidy/plugin/ClangTidyPlugin.cpp (if I read the comments therein right) is for using clang-tidy as a clang plugin. Those are two separate things I think (?)

clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp