This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Remove IncludeInserter from MoveConstructorInit check.
ClosedPublic

Authored by njames93 on Feb 22 2021, 5:33 PM.

Details

Summary

This check registers an IncludeInserter, however the check itself doesn't actually emit any fixes or includes, so the inserter is redundant.

From what I can tell the fixes were removed in D26453(rL290051) but the inserter was left in, probably an oversight.

Diff Detail

Event Timeline

njames93 created this revision.Feb 22 2021, 5:33 PM
njames93 requested review of this revision.Feb 22 2021, 5:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 22 2021, 5:33 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
njames93 updated this revision to Diff 325626.Feb 22 2021, 5:35 PM

Remove unnessary headers.

aaron.ballman accepted this revision.Feb 23 2021, 5:11 AM

LGTM, thanks for the cleanup!

This revision is now accepted and ready to land.Feb 23 2021, 5:11 AM