[PATCH] D117129: [clang-tidy] Extract Class IncluderClangTidyCheck

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 15 23:53:12 PST 2022


njames93 added a comment.

In D117129#3246610 <https://reviews.llvm.org/D117129#3246610>, @LegalizeAdulthood wrote:

> In D117129#3246403 <https://reviews.llvm.org/D117129#3246403>, @njames93 wrote:
>
>> 
>
> I pushed the functionality down into ClangTidyCheck
> instead of introducing an intermediate class.  Does this
> address your concern?

This is a step backwards. Now every check is paying for an IncludeInserter that most never use. I've put D117409 <https://reviews.llvm.org/D117409> up that, despite being a little rough round the edges, solves the problem in a way where there is only 1 shared Inserter.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117129/new/

https://reviews.llvm.org/D117129



More information about the cfe-commits mailing list