This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy][NFC] Remove Tristate from CachedGlobList
ClosedPublic

Authored by njames93 on Feb 19 2022, 3:51 PM.

Details

Summary

The tristate is a little redundant as we can determine if the item was already in the cache based on the return from try_emplace.

Diff Detail

Event Timeline

njames93 created this revision.Feb 19 2022, 3:51 PM
njames93 requested review of this revision.Feb 19 2022, 3:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 19 2022, 3:51 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Feb 21 2022, 2:41 AM
This revision was automatically updated to reflect the committed changes.