This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy][NFC] Remove the double look-up on IncludeInserter
ClosedPublic

Authored by njames93 on Jun 17 2020, 4:38 AM.

Details

Summary

Refactor out the double lookup in IncludeInserter when trying to get the IncludeSorter for a specified FileID.

Diff Detail

Event Timeline

njames93 created this revision.Jun 17 2020, 4:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 17 2020, 4:38 AM
This revision is now accepted and ready to land.Jun 17 2020, 10:53 AM
This revision was automatically updated to reflect the committed changes.